Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorAlreadyExists ¶
type ErrorAlreadyExists struct {
ErrorDetail
}
func (*ErrorAlreadyExists) Error ¶
func (e *ErrorAlreadyExists) Error() string
type ErrorBadRequest ¶
type ErrorBadRequest struct {
ErrorDetail
}
func (*ErrorBadRequest) Error ¶
func (e *ErrorBadRequest) Error() string
type ErrorDetail ¶
type ErrorNotFound ¶
type ErrorNotFound struct {
ErrorDetail
}
func (*ErrorNotFound) Error ¶
func (e *ErrorNotFound) Error() string
type ErrorResponse ¶
type ErrorResponse struct { Message string `json:"message"` Errors []ErrorDetail `json:"errors"` }
func NewErrorResponse ¶
func NewErrorResponse(err error) (*ErrorResponse, int)
type ErrorSalechannelNotAllowed ¶
type ErrorSalechannelNotAllowed struct {
ErrorDetail
}
func (*ErrorSalechannelNotAllowed) Error ¶
func (e *ErrorSalechannelNotAllowed) Error() string
type ErrorUnauthorized ¶
type ErrorUnauthorized struct {
}func (*ErrorUnauthorized) Error ¶
func (e *ErrorUnauthorized) Error() string
type ErrorUserNotActive ¶
type ErrorUserNotActive struct {
ErrorDetail
}
func (*ErrorUserNotActive) Error ¶
func (e *ErrorUserNotActive) Error() string
Click to show internal directories.
Click to hide internal directories.