# Functions
DBError returns an error message and status code appropriate to the error that has occurred.
GenericDBError wraps DBError with a more specific error message for not found errors.
Handler handles errors for fetching data from the database.
No description provided by the author
No description provided by the author
No description provided by the author
Generate a struct containing the HTTP error on the fly.
# Structs
ErrorStatus is used to return an error with the corresponding HTTP status code to a controller.
No description provided by the author