Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBadRequestError ¶
NewBadRequestError returns new BadRequestError
func NewInternalServerError ¶
NewInternalServerError returns new InternalServerError
func NewNotFoundError ¶
NewNotFoundError returns new NotFoundError
Types ¶
type BadRequestError ¶
type BadRequestError struct {
// contains filtered or unexported fields
}
BadRequestError is an error that http handler returns bad-request response to client on receive.
func (*BadRequestError) Error ¶
func (e *BadRequestError) Error() string
func (*BadRequestError) Unwrap ¶
func (e *BadRequestError) Unwrap() error
type InternalServerError ¶
type InternalServerError struct {
// contains filtered or unexported fields
}
InternalServerError is an error that http handler returns internal-server-error response to client on receive.
func (*InternalServerError) Error ¶
func (e *InternalServerError) Error() string
func (*InternalServerError) Unwrap ¶
func (e *InternalServerError) Unwrap() error
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
NotFoundError is an error that http handler returns not-found response to client on receive.
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
func (*NotFoundError) Unwrap ¶
func (e *NotFoundError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.