package
0.0.7
Repository: https://github.com/basemind-ai/monorepo.git
Documentation: pkg.go.dev

# Functions

BadRequest - creates a new APIError with status code 400.
Forbidden - creates a new APIError with status code 403.
InternalServerError - creates a new APIError with status code 500.
New - creates a new APIError.
NotFound - creates a new APIError with status code 404.
Unauthorized - creates a new APIError with status code 401.
UnprocessableContent - creates a new APIError with status code 422.

# Constants

ExtraContextKey - the key used to store extra information in the context.

# Structs

APIError - represents an API error.