Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionError ¶
type ConnectionError struct {
ErrorMessage string
}
func NewConnectionError ¶
func NewConnectionError(msg string) *ConnectionError
func (*ConnectionError) Error ¶
func (c *ConnectionError) Error() string
type CredentialsTypeError ¶
type CredentialsTypeError struct {
ErrorMessage string
}
func NewCredentialsTypeError ¶
func NewCredentialsTypeError(msg string) *CredentialsTypeError
func (*CredentialsTypeError) Error ¶
func (c *CredentialsTypeError) Error() string
type RequestTimeoutError ¶
type RequestTimeoutError struct {
ErrorMessage string
}
func NewRequestTimeoutError ¶
func NewRequestTimeoutError(msg string) *RequestTimeoutError
func (*RequestTimeoutError) Error ¶
func (rt *RequestTimeoutError) Error() string
type ServiceResponseError ¶
type ServiceResponseError struct { StatusCode int `json:"status_code"` RequestId string `json:"request_id"` ErrorCode string `json:"error_code"` ErrorMessage string `json:"error_message"` EncodedAuthorizationMessage string `json:"encoded_authorization_message"` }
func NewServiceResponseError ¶
func NewServiceResponseError(resp *http.Response) *ServiceResponseError
func (ServiceResponseError) Error ¶
func (sr ServiceResponseError) Error() string
Click to show internal directories.
Click to hide internal directories.