package
0.9.0-alpha
Repository: https://github.com/denopink/webpa-common.git
Documentation: pkg.go.dev

# Functions

New returns an error containing the given internal metadata.
Write handles writing the given error to the response, taking care of the response status and any output headers.
WriteMessage handles writing full error message information out to a response.

# Constants

DefaultStatus is the response status code used when the error's code is less than http.StatusBadRequest (400), i.e.

# Interfaces

Interface represents an HTTP-specific error with additional metadata for the response.