package
0.0.0-20230421053604-b3f7bda99619
Repository: https://github.com/funbinary/go_example.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

As finds the first error in err's chain that matches target, and if so, sets target to that error value and returns true.
Cause returns the underlying cause of the error, if possible.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
Is reports whether any error in err's chain matches target.
IsCode reports whether any error in err's chain contains the given error code.
MustRegister register a user define error code.
New returns an error with the supplied message.
ParseCoder parse any error into *withCode.
Register register a user define error code.
Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error.
No description provided by the author
WithMessage annotates err with a new message.
WithMessagef annotates err with the format specifier.
WithStack annotates err with a stack trace at the point WithStack was called.
Wrap returns an error annotating err with a stack trace at the point Wrap is called, and the supplied message.
No description provided by the author
Wrapf returns an error annotating err with a stack trace at the point Wrapf is called, and the format specifier.

# Interfaces

Coder defines an interface for an error code detail information.

# Type aliases

Frame represents a program counter inside a stack frame.
StackTrace is stack of Frames from innermost (newest) to outermost (oldest).