package
0.0.0-20240513095113-b889055ad37b
Repository: https://github.com/go-flexi/ecom-backend.git
Documentation: pkg.go.dev
# Functions
NewAuthorization returns a new Authorization error.
NewFieldErrors returns a FieldErrors with a single FieldError.
ToAuthorization returns the underlying error of a Authorization error returns true if the error is a Authorization error.
ToFieldErrors returns the underlying error of a FieldErrors returns true if the error is a FieldErrors.
# Structs
Authorization is used to represent an authorization error.
Field is used to represent a validation error for a specific field.
# Type aliases
FieldErrors is a collection of FieldError.