Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIErrorBase ¶
type APIErrorBase struct {
JSON string `json:"-"`
StatusCode int
Request *http.Request
Response *http.Response
}
func (*APIErrorBase) DumpRequest ¶
func (r *APIErrorBase) DumpRequest(body bool) []byte
func (*APIErrorBase) DumpResponse ¶
func (r *APIErrorBase) DumpResponse(body bool) []byte
func (*APIErrorBase) Error ¶
func (r *APIErrorBase) Error() string
func (*APIErrorBase) UnmarshalJSON ¶
func (r *APIErrorBase) UnmarshalJSON(data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.