Documentation
¶
Overview ¶
Package apierror describes Qoder's standard error envelope.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
StatusCode int `json:"-"`
Request *http.Request `json:"-"`
Response *http.Response `json:"-"`
RequestID string `json:"request_id"`
Message string `json:"-"`
Code string `json:"-"`
// contains filtered or unexported fields
}
Error is an HTTP API error. Transport and context errors remain unwrapped.
func (*Error) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.