Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOperation ¶
func RawProblem ¶
func RawProblem(err error) json.RawMessage
Types ¶
type APIError ¶
type APIError struct {
Status int `json:"status"`
Code string `json:"code"`
Detail string `json:"detail"`
Message string `json:"message"`
Errors map[string][]string `json:"errors"`
Meta map[string]any `json:"meta"`
RequestID string `json:"request_id"`
RetryAfter string `json:"-"`
Class Class `json:"-"`
OperationState string `json:"-"`
Raw json.RawMessage `json:"-"`
}
type CLIError ¶
Click to show internal directories.
Click to hide internal directories.