package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

Code returns the module and code for the given error.
Context returns the additional context associated with the error.
FromCode reconstructs a previously registered error from module and code.
New creates a new error.
WithContext creates a wrapped error that provides additional context.

# Constants

CodeNoError is the reserved "no error" code.
UnknownModule is the module name used when the module is unknown.

# Variables

Re-exports so this package can be used as a replacement for errors.
Re-exports so this package can be used as a replacement for errors.
Re-exports so this package can be used as a replacement for errors.