func net/http.Error
6 uses
net/http (current package)
fs.go#L152: Error(w, "Error reading directory", StatusInternalServerError)
fs.go#L206: Error(w, text, code)
h2_bundle.go#L7117: Error(w, err.Error(), StatusBadRequest)
server.go#L2235: func Error(w ResponseWriter, error string, code int) {
server.go#L2256: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }
server.go#L2633: Error(w, StatusText(StatusMethodNotAllowed), StatusMethodNotAllowed)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |