package
0.0.0-20241213132325-7ccd6bedcad5
Repository: https://github.com/gnolang/gnokey-mobile.git
Documentation: pkg.go.dev

# Functions

Code returns the code of the actual error without trying to unwrap it, or -1.
Codes returns a list of wrapped codes.
FirstCode walks the passed error and returns the code of the first ErrCode met, or -1.
Has returns true if one of the error is or contains (wraps) an expected errcode.
Is returns true if the top-level error (not the FirstCode) is actually an ErrCode of the same value.
LastCode walks the passed error and returns the code of the latest ErrCode, or -1.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
ErrInternal indicates an unknown error (without Code), i.e.
No description provided by the author
No description provided by the author
ErrNotImplemented indicates that a method is not implemented yet.
No description provided by the author
No description provided by the author
TODO indicates that you plan to create an error later.
Undefined is the default value.

# Variables

Enum value maps for ErrCode.
Enum value maps for ErrCode.
No description provided by the author

# Structs

No description provided by the author

# Interfaces

WithCode defines an error that can be used by helpers of this package.

# Type aliases

The ErrCode enum defines errors for gRPC API functions.