Documentation
¶
Index ¶
- type ExtendedError
- func ErrorBadRequest(message string) *ExtendedError
- func ErrorForbidden(message string) *ExtendedError
- func ErrorInternalServer(message string) *ExtendedError
- func ErrorNotFound(message string) *ExtendedError
- func ErrorUnauthorized(message string) *ExtendedError
- func NewExtendedError(code int, message string) *ExtendedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedError ¶
func ErrorBadRequest ¶
func ErrorBadRequest(message string) *ExtendedError
func ErrorForbidden ¶
func ErrorForbidden(message string) *ExtendedError
func ErrorInternalServer ¶
func ErrorInternalServer(message string) *ExtendedError
func ErrorNotFound ¶
func ErrorNotFound(message string) *ExtendedError
func ErrorUnauthorized ¶
func ErrorUnauthorized(message string) *ExtendedError
func NewExtendedError ¶
func NewExtendedError(code int, message string) *ExtendedError
func (*ExtendedError) Error ¶
func (e *ExtendedError) Error() string
Click to show internal directories.
Click to hide internal directories.