Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadRequest = &Error{Status: 400, Message: "the request was invalid or cannot be otherwise served"} ErrPaymentRequired = &Error{Status: 402, Message: "the request can not be served, as the payment is required to proceed"} ErrForbidden = &Error{Status: 403, Message: "the request is understood, but it has been refused or access is not allowed"} ErrNotFound = &Error{Status: 404, Message: "the resource requested does not exist"} ErrServerError = &Error{Status: 500, Message: "an unexpected condition was encountered and no more specific message is suitable"} ErrNotImplemented = &Error{Status: 501, Message: "the server either does not recognize the request method, or it lacks the ability to fulfill the request"} ErrTargetInvalid = &Error{Status: 400, Message: "channel should end with `/` for strict types or `/#/` for wildcards"} ErrTargetTooLong = &Error{Status: 400, Message: "channel can not have more than 23 parts"} ErrLinkInvalid = &Error{Status: 400, Message: "the link must be an alphanumeric string of 1 or 2 characters"} )
Represents a set of errors used in the handlers.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.