package
0.1.7-beta-testnet
Repository: https://github.com/second-state/devchain.git
Documentation: pkg.go.dev

# Functions

CheckResult converts any error into a abci.ResponseCheckTx, preserving as much info as possible if it was already a TMError.
DeliverResult converts any error into a abci.ResponseDeliverTx, preserving as much info as possible if it was already a TMError.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HasErrorCode checks if this error would return the named error code.
No description provided by the author
IsInternalErr matches any error that is not classified.
No description provided by the author
No description provided by the author
IsSameError returns true if these errors have the same root cause.
No description provided by the author
IsUnauthorizedErr is generic helper for any unauthorized errors, also specific sub-types.
No description provided by the author
No description provided by the author
No description provided by the author
New adds a stacktrace if necessary and sets the code and msg, overriding the state if err was already TMError.
NoErr is useful for test cases when you want to fulfil the CheckErr type.
WithCode adds a stacktrace if necessary and sets the code and msg, overriding the state if err was already TMError.
WithMessage prepends some text to the error, then calls WithCode It wraps the original error, so IsSameError will still match on err.
Wrap safely takes any error and promotes it to a TMError.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

TMError is the tendermint abci return type with stack trace.

# Type aliases

CheckErr is the type of all the check functions here.