package
1.8.1
Repository: https://github.com/codeocean/kivik.git
Documentation: pkg.go.dev

# Functions

Cause is a wrapper around pkg/errors.Cause().
Errorf is a wrapper around pkg/errors.Errorf().
New is a wrapper around the standard errors.New, to avoid the need for multiple imports.
Reason returns the error's reason if there is one.
Status returns a new error with the designated HTTP status.
StatusCode extracts an embedded HTTP status code from an error.
StatusCodeOK extracts an embedded HTTP status code from an error and returns it.
Statusf returns a new error with the designated HTTP status.
Wrap is a wrapper around pkg/errors.Wrap().
Wrapf is a wrapper around pkg/errors.Wrapf().
WrapStatus bundles an existing error with a status code.

# Interfaces

Reasoner is an interface for an error that contains a reason.