package
1.2.0
Repository: https://github.com/gbrayhan/microservices-go.git
Documentation: pkg.go.dev

# 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.

# Structs

AppError defines an application (domain) error.
No description provided by the author