package
0.0.0-20240410202646-c98be4eb5802
Repository: https://github.com/betterworks/go-starter-kit.git
Documentation: pkg.go.dev

# Functions

NewConflictError returns a new CustomError with the Conflict error type.
NewForbiddenError returns a new CustomError with the Forbidden error type.
NewInternalServerError returns a new CustomError with the InternalServer error type.
NewNotFoundError returns a new CustomError with the NotFound error type.
NewUnauthorizedError returns a new CustomError with the Unauthorized error type.
NewValidationError returns a new CustomError with the Validation error type.

# Variables

ErrorType exposes constants for all error types.

# Structs

CustomError.
ErrorRegistry defines a registry for all errors to be used across the application.