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 ResponseValidationError ¶ added in v0.1.72
type ResponseValidationError struct {
Message string
StatusCode int
Body string
RawResponse *http.Response
Cause error
}
func NewResponseValidationError ¶ added in v0.1.72
func (*ResponseValidationError) Error ¶ added in v0.1.72
func (e *ResponseValidationError) Error() string
func (*ResponseValidationError) Unwrap ¶ added in v0.1.72
func (e *ResponseValidationError) Unwrap() error
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