github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/errors/ErrorResponse.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 // ErrorResponse represents class ErrorResponse 7 type ErrorResponse struct { 8 ErrorID *string `json:"errorId,omitempty"` 9 Errors *[]APIError `json:"errors,omitempty"` 10 } 11 12 // NewErrorResponse constructs a new ErrorResponse 13 func NewErrorResponse() *ErrorResponse { 14 return &ErrorResponse{} 15 }