package
0.0.0-20200227152116-b30c35d134ea
Repository: https://github.com/bondhan/gotem.git
Documentation: pkg.go.dev

# Functions

AddErrorContext adds a context to an error.
Cause gives the original error.
GetErrorContext returns the error context.
GetType returns the error type.
New creates a no type error.
Newf creates a no type error with formatted message.
Wrap an error with a string.
Wrapf an error with format string.

# Constants

BadRequest error.
DBError error.
NotFound error.
NoType error.

# Type aliases

ErrorType is the type of an error.