# Functions
MarshalError writes an error to the given writer.
NewError creates a new builder that can then be used to create error objects.
SendError writes a given error and status code to a response writer.
SendInternalServerError sends a generic 500 error.
SendMethodNotAllowed sends a generic 405 error.
SendNotFound sends a generic 404 error.
SendPanic sends a panic error response to the client, but it doesn't end the process.
UnmarshalError reads an error from the given source which can be an slice of bytes, a string, a reader or a JSON decoder.
UnmarshalErrorStatus reads an error from the given source and sets the given status code.
# Constants
Error kind is the name of the type used to represent errors.
ErrorNilKind is the name of the type used to nil errors.