Versions in this module Expand all Collapse all v0 v0.1.2 Jun 14, 2026 Changes in this version + const CodeAuthentication + const CodeAuthorization + const CodeNotFound + const CodeValidation + func IsAppError(err error) bool + type AppError struct + Code Code + Details []interface{} + Message string + Type Type + func Authentication(message string) *AppError + func Authorization(message string) *AppError + func Logic(message string, code Code) *AppError + func NotFound(message string) *AppError + func NotFoundEntity(entity string) *AppError + func Validation(validationErrors map[string]string) *AppError + func (e *AppError) Error() string + func (e *AppError) IsAuthentication() bool + func (e *AppError) IsAuthorization() bool + func (e *AppError) IsLogic() bool + func (e *AppError) IsNotFound() bool + func (e *AppError) IsValidation() bool + type Code string + type Type string + const TypeAuthentication + const TypeAuthorization + const TypeLogic + const TypeNotFound + const TypeValidation