errors

package
v0.19.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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

func ErrHeightMismatch(h1, h2 int64) error

ErrHeightMismatch returns an mismatch error with stack-trace

func ErrNoPathFound

func ErrNoPathFound() error

ErrNoPathFound ...

func ErrPastTime

func ErrPastTime() error

ErrPastTime ...

func ErrTooMuchChange

func ErrTooMuchChange() error

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

func ErrValidatorsChanged

func ErrValidatorsChanged() error

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

func IsCommitNotFoundErr

func IsCommitNotFoundErr(err error) bool

IsCommitNotFoundErr checks whether an error is due to missing data

func IsHeightMismatchErr

func IsHeightMismatchErr(err error) bool

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

func IsNoPathFoundErr

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

func IsPastTimeErr(err error) bool

IsPastTimeErr ...

func IsTooMuchChangeErr

func IsTooMuchChangeErr(err error) bool

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

func IsValidatorsChangedErr

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