sdkerrors

package
v0.1.65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 NewSDKDefaultError(message string, statusCode int, body string, httpRes *http.Response) *SDKDefaultError

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL