errors

package
v0.19.5-rc0 Latest Latest
Warning

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

Go to latest
Published: May 20, 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 ErrHeightMismatch added in v0.13.0

func ErrHeightMismatch(h1, h2 int64) error

ErrHeightMismatch returns an mismatch error with stack-trace

func ErrNoPathFound added in v0.13.0

func ErrNoPathFound() error

ErrNoPathFound ...

func ErrPastTime added in v0.13.0

func ErrPastTime() error

ErrPastTime ...

func ErrTooMuchChange added in v0.13.0

func ErrTooMuchChange() error

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

func ErrValidatorsChanged added in v0.13.0

func ErrValidatorsChanged() error

ErrValidatorsChanged indicates that the validator set was changed between two commits.

func IsCommitNotFoundErr added in v0.13.0

func IsCommitNotFoundErr(err error) bool

IsCommitNotFoundErr checks whether an error is due to missing data

func IsHeightMismatchErr added in v0.13.0

func IsHeightMismatchErr(err error) bool

IsHeightMismatchErr checks whether an error is due to data from different blocks

func IsNoPathFoundErr added in v0.13.0

func IsNoPathFoundErr(err error) bool

IsNoPathFoundErr checks whether an error is due to no path of validators in provider from where we are to where we want to be

func IsPastTimeErr added in v0.13.0

func IsPastTimeErr(err error) bool

IsPastTimeErr ...

func IsTooMuchChangeErr added in v0.13.0

func IsTooMuchChangeErr(err error) bool

IsTooMuchChangeErr checks whether an error is due to too much change between these validators sets.

func IsValidatorsChangedErr added in v0.13.0

func IsValidatorsChangedErr(err error) bool

IsValidatorsChangedErr checks whether an error is due to a differing validator set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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