errors

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 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

Overview

Package errors defines methods to handle specific error in cosmos blockchain like critical errors

Index

Constants

This section is empty.

Variables

View Source
var ErrCritical = sdkerrors.Register(codespace, 3, "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