Versions in this module Expand all Collapse all v1 v1.0.0 Jun 30, 2020retracted Changes in this version + const FromError + const FromString + const FromStringer + func CoupleAPIErrors(r *resty.Response, err error) (*resty.Response, error) + type APIError struct + Errors []APIErrorReason + func (e APIError) Error() string + type APIErrorReason struct + Field string + Reason string + func (r APIErrorReason) Error() string + type Error struct + Code int + Message string + Response *http.Response + func New(err interface{}) *Error + func (e Error) Error() string