Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Code int `json:"code"` Message string `json:"message"` Details json.RawMessage `json:"details"` }
func (Error) ToRESTError ¶
type ErrorEnvelope ¶
type ErrorEnvelope struct {
Err *Error `json:"error"`
}
func (ErrorEnvelope) Error ¶
func (e ErrorEnvelope) Error() string
func (*ErrorEnvelope) Unmarshal ¶
func (e *ErrorEnvelope) Unmarshal(data []byte) bool
Click to show internal directories.
Click to hide internal directories.