Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusCodeFromError ¶
func StatusCodeFromError(e interface{}) int
Types ¶
type ErrorWithStatusCode ¶
func (ErrorWithStatusCode) Error ¶
func (e ErrorWithStatusCode) Error() string
func (ErrorWithStatusCode) GetStatusCode ¶
func (e ErrorWithStatusCode) GetStatusCode() int
func (ErrorWithStatusCode) Unwrap ¶
func (e ErrorWithStatusCode) Unwrap() error
Click to show internal directories.
Click to hide internal directories.