Documentation
¶
Index ¶
- func BadRequestError(err error, messages ...string) error
- func ForbiddenError(err error, messages ...string) error
- func InternalServerError(err error, messages ...string) error
- func JoinError(status int32, message string, err error) error
- func NewError(status, code int32, message string, err error) error
- func NotFoundError(err error, messages ...string) error
- func UnauthorizedError(err error, messages ...string) error
- func WithStatus(status int32, err error, messages ...string) error
- type CodeError
- type MessageError
- type StatusError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequestError ¶
func ForbiddenError ¶
func InternalServerError ¶
func NotFoundError ¶
func UnauthorizedError ¶
Types ¶
type MessageError ¶
type StatusError ¶
Click to show internal directories.
Click to hide internal directories.