Documentation
¶
Overview ¶
Package parsehttp writes parse's request errors as HTTP responses , for servers that do not have an error envelope of their own.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteError ¶
func WriteError(w http.ResponseWriter, err error) bool
WriteError answers err when it is a parse error — anywhere in its chain — with the status its code declares and Body, and reports whether it did. Any other error is the caller's to answer.
Types ¶
Click to show internal directories.
Click to hide internal directories.