Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultErrorCode ¶
Types ¶
type BadRequestError ¶
type BadRequestError ServiceError
func (BadRequestError) Error ¶
func (f BadRequestError) Error() string
type ForbiddenError ¶
type ForbiddenError ServiceError
func (ForbiddenError) Error ¶
func (f ForbiddenError) Error() string
type InternalServerError ¶
type InternalServerError ServiceError
func (InternalServerError) Error ¶
func (f InternalServerError) Error() string
type NotFoundError ¶
type NotFoundError ServiceError
func (NotFoundError) Error ¶
func (f NotFoundError) Error() string
type ServiceError ¶
func (ServiceError) Error ¶
func (f ServiceError) Error() string
type Unauthorized ¶
type Unauthorized ServiceError
func (Unauthorized) Error ¶
func (f Unauthorized) Error() string
type ValidationError ¶
type ValidationError []validation.ValidationError
func NewValidationError ¶
func NewValidationError(err error) ValidationError
func (ValidationError) Error ¶
func (m ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.