# Functions
As finds the first error in err's chain that matches *Error.
BadRequest generates a 400 error.
Conflict generates a 409 error.
Equal tries to compare errors.
Forbidden generates a 403 error.
FromError try to convert go error to *Error.
InternalServerError generates a 500 error.
MethodNotAllowed generates a 405 error.
New generates a custom error.
NotFound generates a 404 error.
Parse tries to parse a JSON string into an error.
Timeout generates a 408 error.
Unauthorized generates a 401 error.