Versions in this module Expand all Collapse all v0 v0.16.0 Dec 11, 2024 Changes in this version + var ErrAuthentication = errors.New("failed to perform authentication over the entity") + var ErrAuthorization = errors.New("failed to perform authorization over the entity") + var ErrEmptyPath = errors.New("empty file path") + var ErrMalformedEntity = New("malformed entity specification") + var ErrRollbackTx = errors.New("failed to rollback transaction") + var ErrStatusAlreadyAssigned = errors.New("status already assigned") + var ErrUnidentified = errors.New("unidentified error") + var ErrUnsupportedContentType = errors.New("invalid content type") + func Contains(e1, e2 error) bool + func Unwrap(err error) (error, error) + func Wrap(wrapper, err error) error + type Error interface + Err func() Error + Error func() string + MarshalJSON func() ([]byte, error) + Msg func() string + func New(text string) Error + type SDKError interface + StatusCode func() int + func CheckError(resp *http.Response, expectedStatusCodes ...int) SDKError + func NewSDKError(err error) SDKError + func NewSDKErrorWithStatus(err error, statusCode int) SDKError