Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail []components.ValidationError `json:"detail,omitzero"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*HTTPValidationError) Error ¶
func (e *HTTPValidationError) Error() string
type OnrampErrorResponse ¶ added in v0.1.26
type OnrampErrorResponse struct {
// Short human-readable error label (e.g. `Payment not found.`, `On-ramp provider unavailable`, `Identity verification required`).
Error_ string `json:"error"`
// Human-readable explanation.
Message string `json:"message"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
OnrampErrorResponse - Standard error envelope returned by every non-2xx on-ramp response.
Surfaced in OpenAPI “responses“ declarations so SDK consumers can decode failures uniformly without inspecting per-status-code shapes.
func (*OnrampErrorResponse) Error ¶ added in v0.1.26
func (e *OnrampErrorResponse) Error() string
type SDKDefaultError ¶
type SDKDefaultError struct {
Message string
StatusCode int
Body string
RawResponse *http.Response
}
func NewSDKDefaultError ¶
func (*SDKDefaultError) Error ¶
func (e *SDKDefaultError) Error() string
type TokenizedAssetsErrorResponse ¶
type TokenizedAssetsErrorResponse struct {
// Short human-readable error label (e.g. `Market not found.`, `Insufficient liquidity`, `Order not found.`).
Error_ string `json:"error"`
// Human-readable explanation.
Message string `json:"message"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
TokenizedAssetsErrorResponse - Standard error envelope returned by every non-2xx response.
Surfaced in OpenAPI “responses“ declarations so SDK consumers can decode failures uniformly without inspecting per-status-code shapes.
func (*TokenizedAssetsErrorResponse) Error ¶
func (e *TokenizedAssetsErrorResponse) Error() string