Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
APIError defines an error in using the API
func NewAPIError ¶
NewAPIError returns an error with the provided inputs
func NewAPIErrorFromBytes ¶
NewAPIErrorFromBytes returns an error based on a byte slice
func NewBadRequestError ¶
NewBadRequestError returns an error indicating a problem with the API request
func NewInternalServerError ¶
NewInternalServerError retuns an error indicating an internal server error
func NewNotFoundAPIError ¶
NewNotFoundAPIError returns an APIError indicating data wasn't found
Click to show internal directories.
Click to hide internal directories.