errors

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2017 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

func ErrHeightMismatch

func ErrHeightMismatch(h1, h2 int) error

ErrHeightMismatch returns an mismatch error with stack-trace

func ErrNoPathFound

func ErrNoPathFound() error

func ErrPastTime

func ErrPastTime() error

func ErrTooMuchChange

func ErrTooMuchChange() error

func ErrValidatorsChanged

func ErrValidatorsChanged() error

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

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