Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category string
Category of errors
const ( // APIERROR : An error occurred with the Safepay API itself. APIERROR Category = "API_ERROR" // VALIDATIONERROR : The request was invalid. // Most commonly, a required parameter was missing, // or a provided parameter had an invalid value. VALIDATIONERROR Category = "VALIDATION_ERROR" // BADREQUEST - a general error occurred. BADREQUEST Category = "BAD_REQUEST" // NOTFOUND ... NOTFOUND Category = "NOT_FOUND" // AUTHENTICATIONERROR : An authentication error occurred. // Most commonly, the request had a missing, malformed, or // otherwise invalid Authorization header. AUTHENTICATIONERROR Category = "AUTHENTICATION_ERROR" // DECODINGERROR: json decoding errors DECODINGERROR Category = "DECODING_ERROR" )
Click to show internal directories.
Click to hide internal directories.