Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAddressNotValid = errors.New("address is not valid") ErrEmptyBody = errors.New("empty body") ErrExpectedJSONObject = errors.New("invalid format: Expected JSON object") ErrRequestInterruptedByClient = errors.New("request interrupted by the client") ErrValidatorNotRegistered = errors.New("validator not registered") ErrRendererNotRegistered = errors.New("renderer not registered") ErrInvalidRedirectCode = errors.New("invalid redirect status code") ErrCookieNotFound = errors.New("cookie not found") ErrInvalidCertOrKeyType = errors.New("invalid cert or Key type, must be string or []byte") ErrInvalidListenerNetwork = errors.New("invalid listener network") ErrUnsupportedMediaType = New(http.StatusUnsupportedMediaType) ErrNotFound = New(http.StatusNotFound) ErrForbidden = New(http.StatusForbidden) ErrMethodNotAllowed = New(http.StatusMethodNotAllowed) ErrStatusRequestEntityTooLarge = New(http.StatusRequestEntityTooLarge) ErrTooManyRequests = New(http.StatusTooManyRequests) ErrBadRequest = New(http.StatusBadRequest) ErrBadGateway = New(http.StatusBadGateway) ErrInternalServerError = New(http.StatusInternalServerError) ErrRequestTimeout = New(http.StatusRequestTimeout) ErrPaymentRequired = New(http.StatusPaymentRequired) ErrNotAcceptable = New(http.StatusNotAcceptable) ErrProxyAuthRequired = New(http.StatusProxyAuthRequired) ErrConflict = New(http.StatusConflict) ErrGone = New(http.StatusGone) ErrLengthRequired = New(http.StatusLengthRequired) ErrPreconditionFailed = New(http.StatusPreconditionFailed) ErrRequestEntityTooLarge = New(http.StatusRequestEntityTooLarge) ErrRequestURITooLong = New(http.StatusRequestURITooLong) ErrRequestedRangeNotSatisfiable = New(http.StatusRequestedRangeNotSatisfiable) ErrExpectationFailed = New(http.StatusExpectationFailed) ErrUnprocessableEntity = New(http.StatusUnprocessableEntity) ErrLocked = New(http.StatusLocked) ErrFailedDependency = New(http.StatusFailedDependency) ErrTooEarly = New(http.StatusTooEarly) ErrUpgradeRequired = New(http.StatusUpgradeRequired) ErrPreconditionRequired = New(http.StatusPreconditionRequired) ErrRequestHeaderFieldsTooLarge = New(http.StatusRequestHeaderFieldsTooLarge) ErrNotImplemented = New(http.StatusNotImplemented) )
Error messages.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.