package
0.1.3
Repository: https://github.com/rayyone/go-core.git
Documentation: pkg.go.dev

# Functions

AddErrorContext adds a context to an error.
AddStackTrace an error with format string.
Cause gives the original error.
GetErrorContexts returns the error context.
GetStackTrace returns the error stack trace.
GetType returns the error type.
Is Check if error is the specified error type.
No description provided by the author
IsNotFound Check if error is NotFound error type.
No description provided by the author
No description provided by the author
New creates a no type error and report to sentry.
NewAndDontReport creates a new Err and don't report it.
Newf creates a no type error with formatted message.
No description provided by the author
Wrap an error with a string.
Wrapf an error with format string.

# Constants

NoType error.
NoType error.
NoType error.
NoType error.
NoType error.
NoType error.
NoType error.
NoType error.
NoType error.

# Structs

No description provided by the author

# Type aliases

ErrorType is the type of an error.