Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequestError ¶
type BadRequestError string
func (BadRequestError) Error ¶
func (e BadRequestError) Error() string
type CheckoutAPIError ¶
type CheckoutAPIError struct { StatusCode int Status string Data *ErrorDetails }
func HandleError ¶
func HandleError(statusCode int, status string, requestId string, body []byte) CheckoutAPIError
func (CheckoutAPIError) Error ¶
func (e CheckoutAPIError) Error() string
type CheckoutArgumentError ¶
type CheckoutArgumentError string
func (CheckoutArgumentError) Error ¶
func (e CheckoutArgumentError) Error() string
type CheckoutAuthorizationError ¶
type CheckoutAuthorizationError string
func InvalidAuthorizationType ¶
func InvalidAuthorizationType(authType string) CheckoutAuthorizationError
func InvalidKey ¶
func InvalidKey(key string) CheckoutAuthorizationError
func (CheckoutAuthorizationError) Error ¶
func (e CheckoutAuthorizationError) Error() string
type CheckoutOAuthError ¶
type CheckoutOAuthError struct {
Description string `json:"error"`
}
func (CheckoutOAuthError) Error ¶
func (e CheckoutOAuthError) Error() string
type ErrorDetails ¶
type InternalError ¶
type InternalError string
func (InternalError) Error ¶
func (e InternalError) Error() string
type UnsupportedTypeError ¶
type UnsupportedTypeError string
func (UnsupportedTypeError) Error ¶
func (e UnsupportedTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.