errors

package
v0.19.3-rc0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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