Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct { Name string `json:"name"` AppCode string `json:"appCode,omitempty"` StatusCode int `json:"statusCode"` Detail string `json:"detail"` Pointer string `json:"pointer"` }
APIError is the generic structure for any api error
func NewInternalError ¶
NewInternalError instantiates a new internal error instance, populating defaults
func NewUnauthorizedError ¶ added in v2.1.0
NewUnauthorizedError instantiates a new unauthorized error instance, populating defaults
Click to show internal directories.
Click to hide internal directories.