package
4.46.3+incompatible
Repository: https://github.com/bitboxswiss/bitbox-wallet-app.git
Documentation: pkg.go.dev

# Functions

WithContext takes an error and a data map and provides a DetailedError that combines both.

# Constants

ErrUserAbort is returned if the user aborted the current operation.

# Variables

Cause wraps errors.Cause.
New wraps errors.New.
Newf wraps errors.Newf.
WithMessage wraps errors.WithMessage.
WithStack wraps errors.WithStack.
Wrap wraps errors.Wrap.

# Structs

DetailedError combines an error with a map of data points that provide more context and are useful for logging.

# Type aliases

Context provides the context for a detailed error.
ErrorCode are errors that are represented by an error code.