# Functions
HandleHTTPError returns the HTTP status code and message for an error.
NewBadRequestError creates a new ErrBadRequest with the provided message.
NewInternalServerError creates a new ErrInternalServer with the provided message.
NewNotFoundError creates a new ErrNotFound with the provided message.
NewUnauthorizedError creates a new ErrUnauthorized with the provided message.
# Structs
ErrBadRequest represents an error when the request is not correct (HTTP 400 Bad Request).
ErrInternalServer represents a server error (HTTP 500 Internal Server Error).
ErrNotFound represents an error for when an entity is not found (HTTP 404 Not Found).
ErrUnauthorized represents an error for unauthorized access (HTTP 401 Unauthorized).
# Interfaces
HTTPErrorer defines an interface for errors that include an HTTP status code.