sdkerrors

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 4 Imported by: 0

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 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 TokenizedEquitiesErrorResponse added in v0.1.9

type TokenizedEquitiesErrorResponse struct {
	// Stable machine-readable error code (e.g. `MARKET_NOT_FOUND`, `FUSION_NO_LIQUIDITY`, `ORDER_NOT_FOUND`).
	Error_ string `json:"error"`
	// Human-readable explanation.
	Message  string                  `json:"message"`
	HTTPMeta components.HTTPMetadata `json:"-"`
}

TokenizedEquitiesErrorResponse - 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 (*TokenizedEquitiesErrorResponse) Error added in v0.1.9

Jump to

Keyboard shortcuts

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