github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/errors/APIError.go (about) 1 // This class was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package errors 5 6 // APIError represents class APIError 7 type APIError struct { 8 Category *string `json:"category,omitempty"` 9 Code *string `json:"code,omitempty"` 10 HTTPStatusCode *int32 `json:"httpStatusCode,omitempty"` 11 ID *string `json:"id,omitempty"` 12 Message *string `json:"message,omitempty"` 13 PropertyName *string `json:"propertyName,omitempty"` 14 RequestID *string `json:"requestId,omitempty"` 15 } 16 17 // NewAPIError constructs a new APIError 18 func NewAPIError() *APIError { 19 return &APIError{} 20 }