errors

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCritical = sdkerrors.Register(codespace, 0, "the state of the blockchain is inconsistent or an invariant is broken")

Functions

func Critical

func Critical(description string) error

Critical handles and/or returns an error in case a critical error has been encountered: - Inconsistent state - Broken invariant

func Criticalf

func Criticalf(format string, args ...interface{}) error

Criticalf extends a critical error with additional information.

This function works like the Critical function with additional functionality of formatting the input as specified.

Types

This section is empty.

Jump to

Keyboard shortcuts

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