type golang.org/x/pkgsite/internal/frontend.serverError
29 uses
golang.org/x/pkgsite/internal/frontend (current package)
404.go#L31: var errUnitNotFoundWithoutFetch = &serverError{
404.go#L66: return &serverError{status: http.StatusNotFound}
404.go#L125: return &serverError{
404.go#L164: return &serverError{status: http.StatusNotFound}
404.go#L170: return &serverError{
details.go#L30: return &serverError{status: http.StatusMethodNotAllowed}
details.go#L63: return &serverError{
details.go#L79: return &serverError{
details.go#L93: return &serverError{
fetch.go#L100: return &serverError{status: http.StatusNotFound}
fetch.go#L106: return &serverError{status: http.StatusBadRequest}
fetch.go#L112: return &serverError{status: http.StatusBadRequest}
fetch.go#L116: return &serverError{status: status, responseText: responseText}
fetch.go#L149: var serr *serverError
fetch.go#L497: return nil, &serverError{
fetch.go#L525: return nil, &serverError{
fetch.go#L532: return nil, &serverError{
search.go#L228: return &serverError{status: http.StatusMethodNotAllowed}
search.go#L239: return &serverError{status: http.StatusBadRequest}
search.go#L242: return &serverError{
search.go#L256: return &serverError{
search.go#L265: return &serverError{
server.go#L327: type serverError struct {
server.go#L334: func (s *serverError) Error() string {
server.go#L338: func (s *serverError) Unwrap() error {
server.go#L354: var serr *serverError
server.go#L356: serr = &serverError{status: http.StatusInternalServerError, err: err}
styleguide.go#L36: return &serverError{status: http.StatusNotFound}
urlinfo.go#L203: return &serverError{status: http.StatusNotFound}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |