//
pkg.gl
Category
github.com/joeyfromspace/go-api-errors/v2
errors
package
2.1.1
Repository:
https://github.com/joeyfromspace/go-api-errors.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
1
Files
48 SLOC
#
Functions
New
New instantiates a new error from the inputted map of values.
NewInternalError
NewInternalError instantiates a new internal error instance, populating defaults.
NewUnauthorizedError
NewUnauthorizedError instantiates a new unauthorized error instance, populating defaults.
#
Structs
APIError
APIError is the generic structure for any api error.