Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶ added in v2.1.3
type Error struct { ErrorCode ErrorCode `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
Error - General error
type ErrorResponse ¶
type ErrorResponse struct { Details *string `json:"details,omitempty"` ErrorCode shared.ErrorsEnum `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
ErrorResponse - Error
func (*ErrorResponse) Error ¶
func (e *ErrorResponse) Error() string
type PaymentsErrorResponse ¶ added in v2.2.0
type PaymentsErrorResponse struct { ErrorCode shared.PaymentsErrorsEnum `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
PaymentsErrorResponse - Error
func (*PaymentsErrorResponse) Error ¶ added in v2.2.0
func (e *PaymentsErrorResponse) Error() string
type ReconciliationErrorResponse ¶ added in v2.1.3
type ReconciliationErrorResponse struct { Details *string `json:"details,omitempty"` ErrorCode string `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
ReconciliationErrorResponse - Error response
func (*ReconciliationErrorResponse) Error ¶ added in v2.1.3
func (e *ReconciliationErrorResponse) Error() string
type SDKError ¶
func NewSDKError ¶
type SchemasErrorCode ¶ added in v2.1.2
type SchemasErrorCode string
const ( SchemasErrorCodeValidation SchemasErrorCode = "VALIDATION" SchemasErrorCodeNotFound SchemasErrorCode = "NOT_FOUND" SchemasErrorCodeInternal SchemasErrorCode = "INTERNAL" )
func (SchemasErrorCode) ToPointer ¶ added in v2.1.2
func (e SchemasErrorCode) ToPointer() *SchemasErrorCode
func (*SchemasErrorCode) UnmarshalJSON ¶ added in v2.1.2
func (e *SchemasErrorCode) UnmarshalJSON(data []byte) error
type SchemasWalletsErrorResponseErrorCode ¶ added in v2.1.3
type SchemasWalletsErrorResponseErrorCode string
const ( SchemasWalletsErrorResponseErrorCodeValidation SchemasWalletsErrorResponseErrorCode = "VALIDATION" SchemasWalletsErrorResponseErrorCodeInternalError SchemasWalletsErrorResponseErrorCode = "INTERNAL_ERROR" SchemasWalletsErrorResponseErrorCodeInsufficientFund SchemasWalletsErrorResponseErrorCode = "INSUFFICIENT_FUND" SchemasWalletsErrorResponseErrorCodeHoldClosed SchemasWalletsErrorResponseErrorCode = "HOLD_CLOSED" )
func (SchemasWalletsErrorResponseErrorCode) ToPointer ¶ added in v2.1.3
func (e SchemasWalletsErrorResponseErrorCode) ToPointer() *SchemasWalletsErrorResponseErrorCode
func (*SchemasWalletsErrorResponseErrorCode) UnmarshalJSON ¶ added in v2.1.3
func (e *SchemasWalletsErrorResponseErrorCode) UnmarshalJSON(data []byte) error
type V2Error ¶
type V2Error struct { ErrorCode SchemasErrorCode `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
V2Error - General error
type V2ErrorResponse ¶
type V2ErrorResponse struct { Details *string `json:"details,omitempty"` ErrorCode shared.V2ErrorsEnum `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
V2ErrorResponse - Error
func (*V2ErrorResponse) Error ¶
func (e *V2ErrorResponse) Error() string
type WalletsErrorResponse ¶ added in v2.1.2
type WalletsErrorResponse struct { ErrorCode SchemasWalletsErrorResponseErrorCode `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
WalletsErrorResponse - Error
func (*WalletsErrorResponse) Error ¶ added in v2.1.2
func (e *WalletsErrorResponse) Error() string
type WebhooksErrorResponse ¶
type WebhooksErrorResponse struct { Details *string `json:"details,omitempty"` ErrorCode shared.WebhooksErrorsEnum `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
WebhooksErrorResponse - Error
func (*WebhooksErrorResponse) Error ¶
func (e *WebhooksErrorResponse) Error() string
Click to show internal directories.
Click to hide internal directories.