Documentation ¶
Index ¶
- func Authentication(err error) *myError
- func Authorization(err error) *myError
- func BadRequest(err error) *myError
- func Conflict(err error) *myError
- func FromHttpStatus(code int, msg string) *myError
- func FromString(msg string) error
- func NotFound(err error) *myError
- func Server(err error) *myError
- func Unexpected(err error) *myError
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authentication ¶
func Authentication(err error) *myError
func Authorization ¶
func Authorization(err error) *myError
func BadRequest ¶
func BadRequest(err error) *myError
func FromHttpStatus ¶
func FromString ¶
func Unexpected ¶
func Unexpected(err error) *myError
Types ¶
Click to show internal directories.
Click to hide internal directories.