Versions in this module Expand all Collapse all v4 v4.0.1 May 2, 2026 Changes in this version + const MessageForbidden + const MessageInternalServerError + const MessageTooManyRequests + type BadRequestError struct + func NewBadRequestError(err error) BadRequestError + func (err BadRequestError) Error() string + type ConflictError struct + JSONField string + func NewConflictError(resourceName string, identifierValue any, jsonField string) ConflictError + func (err ConflictError) Error() string + type ErrorDto struct + Error string + Message any + Status int + func NewErrorDto(status int, message any) ErrorDto + type NotFoundError struct + JSONField string + func NewNotFoundError(resourceName string, identifierValue any, jsonField string) NotFoundError + func (err NotFoundError) Error() string + type UnauthorizedError struct + func NewUnauthorizedError(err error) UnauthorizedError + func (err UnauthorizedError) Error() string Other modules containing this package github.com/xdoubleu/essentia/v2 github.com/xdoubleu/essentia/v3