Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SetBaseURL ¶ added in v1.6.2
type ErrorDetail ¶ added in v1.4.0
type ErrorDetail struct {
Code string `json:"code"`
Message string `json:"message"`
Hint string `json:"hint"`
}
ErrorDetail represents the structured error body from the server.
type ErrorResponse ¶
type ErrorResponse struct {
Error ErrorDetail `json:"error"`
}
ErrorResponse wraps the server error envelope: {"error": {...}}.
Click to show internal directories.
Click to hide internal directories.