# Functions
NewAppError initializes a new domain error using an error and its type.
NewAppErrorWithType initializes a new default error for a given type.
# Constants
NotAuthenticated indicates an authentication error.
NotAuthorized indicates an authorization error.
NotFound error indicates a missing / not found record.
RepositoryError indicates a repository (e.g database) error.
ResourceAlreadyExists indicates a duplicate / already existing record.
TokenGeneratorError indicates an token generation error.
UnknownError indicates an error that the app cannot find the cause for.
ValidationError indicates an error in input validation.