package
2.0.0+incompatible
Repository: https://github.com/halilylm/ticketing-common.git
Documentation: pkg.go.dev

# Functions

NewBadRequestError represents an HTTP error with status code of 400.
A NewHTTPError is a factory function for HTTP Errors.
NewInternalServerError represents an HTTP error with status code of 500.
NewNotFoundError represents an HTTP error with status code of 404.
NewUnauthorizedError represents an HTTP error with status code of 401.
ParseHTTPError parses an error to HTTPError, returns 500 if given error is not instance of HTTPError.

# 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

# Structs

HTTPError represents an http error.