package
4.2.2
Repository: https://github.com/envelope-zero/backend.git
Documentation: pkg.go.dev

# 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.
Parse parses an error and returns an appropriate Error struct.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Error is used to return an error with the corresponding HTTP status code to a controller.
No description provided by the author