Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrInvalidCommitHeight ¶
ErrInvalidCommitHeight is returned when we encounter a commit with an unexpected height.
func NewErrInvalidCommitHeight ¶
func NewErrInvalidCommitHeight(expected, actual int64) ErrInvalidCommitHeight
func (ErrInvalidCommitHeight) Error ¶
func (e ErrInvalidCommitHeight) Error() string
type ErrInvalidCommitSignatures ¶
ErrInvalidCommitSignatures is returned when we encounter a commit where the number of signatures doesn't match the number of validators.
func NewErrInvalidCommitSignatures ¶
func NewErrInvalidCommitSignatures(expected, actual int) ErrInvalidCommitSignatures
func (ErrInvalidCommitSignatures) Error ¶
func (e ErrInvalidCommitSignatures) Error() string
type ErrInvalidField ¶
ErrInvalidField is returned every time a value does not pass a validity check.
func (ErrInvalidField) Error ¶
func (e ErrInvalidField) Error() string
type ErrMsgFromProto ¶
func (ErrMsgFromProto) Error ¶
func (e ErrMsgFromProto) Error() string
func (ErrMsgFromProto) Unwrap ¶
func (e ErrMsgFromProto) Unwrap() error
type ErrMsgToProto ¶
func (ErrMsgToProto) Error ¶
func (e ErrMsgToProto) Error() string
func (ErrMsgToProto) Unwrap ¶
func (e ErrMsgToProto) Unwrap() error
type ErrNegativeField ¶
type ErrNegativeField struct {
Field string
}
ErrNegativeField is returned every time some field which should be non-negative turns out negative.
func (ErrNegativeField) Error ¶
func (e ErrNegativeField) Error() string
type ErrRequiredField ¶
type ErrRequiredField struct {
Field string
}
ErrRequiredField is returned every time a required field is not provided.
func (ErrRequiredField) Error ¶
func (e ErrRequiredField) Error() string
type ErrWrongField ¶
ErrWrongField is returned every time a value does not pass a validaty check, accompanied with error.
func (ErrWrongField) Error ¶
func (e ErrWrongField) Error() string
Click to show internal directories.
Click to hide internal directories.