Versions in this module Expand all Collapse all v0 v0.3.61 Jan 17, 2024 Changes in this version + var ErrRequest = errors.New("request error") + func HandleError(w http.ResponseWriter, r *http.Request, err error) + func IsHTTPNotFound(err error) bool + type HTTPError struct + func HTTPConflict() *HTTPError + func HTTPForbidden(description string) *HTTPError + func HTTPMethodNotAllowed() *HTTPError + func HTTPNotFound() *HTTPError + func OAuth2AccessDenied(description string) *HTTPError + func OAuth2InvalidClient(description string) *HTTPError + func OAuth2InvalidGrant(description string) *HTTPError + func OAuth2InvalidRequest(description string) *HTTPError + func OAuth2InvalidScope(description string) *HTTPError + func OAuth2ServerError(description string) *HTTPError + func OAuth2UnauthorizedClient(description string) *HTTPError + func OAuth2UnsupportedGrantType(description string) *HTTPError + func (e *HTTPError) Error() string + func (e *HTTPError) Unwrap() error + func (e *HTTPError) WithError(err error) *HTTPError + func (e *HTTPError) WithValues(values ...interface{}) *HTTPError + func (e *HTTPError) Write(w http.ResponseWriter, r *http.Request)