//
pkg.gl
Category
github.com/vladas9/backend-practice
internal
errors
package
0.0.0-20241122193139-56daf2fa8bb1
Repository:
https://github.com/vladas9/backend-practice.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
4
Files
90 SLOC
#
Functions
Conflict
e.g.
Forbidden
user is logged in but does not have permission.
Internal
an error that should not happen, is server's fault.
Next
wraps error with current function name.
NotFound
requested resources cannot be found.
NotValid
validation of request fails, i.e.
Unauthorized
auth token missing or expired.
#
Structs
ApiError
No description provided by the author
#
Interfaces
ErrMessage
No description provided by the author
Validator
No description provided by the author