Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(r *http.Request, w http.ResponseWriter, originalError error)
Error creates a standardized error response
func ErrorWithCode ¶
ErrorWithCode creates a standardized error response with a status code
func ResponseCodeFromError ¶
ResponseCodeFromError resolves a status code from an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.