Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2025 Changes in this version + type APIError interface + DumpRequest func(body bool) []byte + DumpResponse func(body bool) []byte + Error func() string + UnmarshalJSON func(data []byte) error + func NewAPIErrorBase(resp *http.Response, req *http.Request) APIError + type APIErrorBase struct + JSON string + Request *http.Request + Response *http.Response + StatusCode int + func (r *APIErrorBase) DumpRequest(body bool) []byte + func (r *APIErrorBase) DumpResponse(body bool) []byte + func (r *APIErrorBase) Error() string + func (r *APIErrorBase) UnmarshalJSON(data []byte) (err error)