package
0.0.0-20221213181224-8cb3723bd921
Repository: https://github.com/alpacahq/ribbit-backend.git
Documentation: pkg.go.dev
# Functions
New generates an application error.
NewStatus generates new error containing only http status code.
Response writes an error response to client.
Response writes an error response to client.
# Variables
BadRequest represents error for bad requests.
DB represents database related errors.
Forbidden represents access to forbidden resource error.
Generic error.
NotFound represents errors for not found resources.
Unauthorized represents errors for unauthorized requests.