MCPcopy
hub / github.com/labstack/echo / HTTPError

Struct HTTPError

httperror.go:107–112  ·  view source on GitHub ↗

HTTPError represents an error that occurred while handling a request.

Source from the content-addressed store, hash-verified

105
106// HTTPError represents an error that occurred while handling a request.
107type HTTPError struct {
108 // Code is status code for HTTP response
109 Code int `json:"-"`
110 Message string `json:"message"`
111 err error
112}
113
114// StatusCode returns status code for HTTP response
115func (he *HTTPError) StatusCode() int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected