package
0.0.0-20241220230325-193e05bca902
Repository: https://github.com/egdaemon/eg.git
Documentation: pkg.go.dev

# Functions

Cause returns the underlying cause of the error, if possible.
Compact returns the first error in the set, if any.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
No description provided by the author
No description provided by the author
MaybePanic panic when error is seen.
No description provided by the author
New returns an error with the supplied message.
Mark an error as temporary.
No description provided by the author
Notification presents an error that will be displayed to the user to provide notifications.
Timedout represents a timeout.
UserFriendly represents an error that will be displayed to users.
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.
Wrapf returns an error annotating err with a stack trace at the point Wrapf is called, and the format specifier.
Zero logs that the error occurred but otherwise ignores it.

# Structs

CompactMonad an error that collects and returns the first error encountered.
No description provided by the author
No description provided by the author

# Interfaces

Timeout error.

# Type aliases

Frame represents a program counter inside a stack frame.
StackTrace is stack of Frames from innermost (newest) to outermost (oldest).
String useful wrapper for string constants as errors.