errors

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrCommitNotFound

func ErrCommitNotFound() error

ErrCommitNotFound indicates that a the requested commit was not found.

func ErrEmptyTree added in v1.0.0

func ErrEmptyTree() error

func ErrTooMuchChange

func ErrTooMuchChange() error

ErrTooMuchChange indicates that the underlying validator set was changed by >1/3.

func ErrUnexpectedValidators

func ErrUnexpectedValidators(got, want []byte) error

ErrUnexpectedValidators indicates a validator set mismatch.

func ErrUnknownValidators

func ErrUnknownValidators(chainID string, height int64) error

ErrUnknownValidators indicates that some validator set was missing or unknown.

func IsErrCommitNotFound

func IsErrCommitNotFound(err error) bool

func IsErrEmptyTree added in v1.0.0

func IsErrEmptyTree(err error) bool

func IsErrTooMuchChange

func IsErrTooMuchChange(err error) bool

func IsErrUnexpectedValidators

func IsErrUnexpectedValidators(err error) bool

func IsErrUnknownValidators

func IsErrUnknownValidators(err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL