Documentation
¶
Overview ¶
Package pf CODE GENERATED. DO NOT MODIFY
Package pf does pretty formatting of http errors
Index ¶
- Constants
- func CodeToSlug(code int) string
- type Fail
- func Accepted(msg ...interface{}) *Fail
- func AcceptedDetail(detail []string) *Fail
- func Acceptedf(format string, args ...interface{}) *Fail
- func AlreadyReported(msg ...interface{}) *Fail
- func AlreadyReportedDetail(detail []string) *Fail
- func AlreadyReportedf(format string, args ...interface{}) *Fail
- func BadGateway(msg ...interface{}) *Fail
- func BadGatewayDetail(detail []string) *Fail
- func BadGatewayf(format string, args ...interface{}) *Fail
- func BadRequest(msg ...interface{}) *Fail
- func BadRequestDetail(detail []string) *Fail
- func BadRequestf(format string, args ...interface{}) *Fail
- func ClientClosedRequest(msg ...interface{}) *Fail
- func ClientClosedRequestDetail(detail []string) *Fail
- func ClientClosedRequestf(format string, args ...interface{}) *Fail
- func Conflict(msg ...interface{}) *Fail
- func ConflictDetail(detail []string) *Fail
- func Conflictf(format string, args ...interface{}) *Fail
- func ConnectionClosedWithoutResponse(msg ...interface{}) *Fail
- func ConnectionClosedWithoutResponseDetail(detail []string) *Fail
- func ConnectionClosedWithoutResponsef(format string, args ...interface{}) *Fail
- func Continue(msg ...interface{}) *Fail
- func ContinueDetail(detail []string) *Fail
- func Continuef(format string, args ...interface{}) *Fail
- func Created(msg ...interface{}) *Fail
- func CreatedDetail(detail []string) *Fail
- func Createdf(format string, args ...interface{}) *Fail
- func ExpectationFailed(msg ...interface{}) *Fail
- func ExpectationFailedDetail(detail []string) *Fail
- func ExpectationFailedf(format string, args ...interface{}) *Fail
- func FailedDependency(msg ...interface{}) *Fail
- func FailedDependencyDetail(detail []string) *Fail
- func FailedDependencyf(format string, args ...interface{}) *Fail
- func Forbidden(msg ...interface{}) *Fail
- func ForbiddenDetail(detail []string) *Fail
- func Forbiddenf(format string, args ...interface{}) *Fail
- func Found(msg ...interface{}) *Fail
- func FoundDetail(detail []string) *Fail
- func Foundf(format string, args ...interface{}) *Fail
- func GatewayTimeout(msg ...interface{}) *Fail
- func GatewayTimeoutDetail(detail []string) *Fail
- func GatewayTimeoutf(format string, args ...interface{}) *Fail
- func Gone(msg ...interface{}) *Fail
- func GoneDetail(detail []string) *Fail
- func Gonef(format string, args ...interface{}) *Fail
- func HTTPVersionNotSupported(msg ...interface{}) *Fail
- func HTTPVersionNotSupportedDetail(detail []string) *Fail
- func HTTPVersionNotSupportedf(format string, args ...interface{}) *Fail
- func IMATeapot(msg ...interface{}) *Fail
- func IMATeapotDetail(detail []string) *Fail
- func IMATeapotf(format string, args ...interface{}) *Fail
- func ImUsed(msg ...interface{}) *Fail
- func ImUsedDetail(detail []string) *Fail
- func ImUsedf(format string, args ...interface{}) *Fail
- func InsufficientStorage(msg ...interface{}) *Fail
- func InsufficientStorageDetail(detail []string) *Fail
- func InsufficientStoragef(format string, args ...interface{}) *Fail
- func InternalServerError(msg ...interface{}) *Fail
- func InternalServerErrorDetail(detail []string) *Fail
- func InternalServerErrorf(format string, args ...interface{}) *Fail
- func LengthRequired(msg ...interface{}) *Fail
- func LengthRequiredDetail(detail []string) *Fail
- func LengthRequiredf(format string, args ...interface{}) *Fail
- func Locked(msg ...interface{}) *Fail
- func LockedDetail(detail []string) *Fail
- func Lockedf(format string, args ...interface{}) *Fail
- func LoopDetected(msg ...interface{}) *Fail
- func LoopDetectedDetail(detail []string) *Fail
- func LoopDetectedf(format string, args ...interface{}) *Fail
- func MethodNotAllowed(msg ...interface{}) *Fail
- func MethodNotAllowedDetail(detail []string) *Fail
- func MethodNotAllowedf(format string, args ...interface{}) *Fail
- func MisdirectedRequest(msg ...interface{}) *Fail
- func MisdirectedRequestDetail(detail []string) *Fail
- func MisdirectedRequestf(format string, args ...interface{}) *Fail
- func MovedPermanently(msg ...interface{}) *Fail
- func MovedPermanentlyDetail(detail []string) *Fail
- func MovedPermanentlyf(format string, args ...interface{}) *Fail
- func MultiStatus(msg ...interface{}) *Fail
- func MultiStatusDetail(detail []string) *Fail
- func MultiStatusf(format string, args ...interface{}) *Fail
- func MultipleChoices(msg ...interface{}) *Fail
- func MultipleChoicesDetail(detail []string) *Fail
- func MultipleChoicesf(format string, args ...interface{}) *Fail
- func NetworkAuthenticationRequired(msg ...interface{}) *Fail
- func NetworkAuthenticationRequiredDetail(detail []string) *Fail
- func NetworkAuthenticationRequiredf(format string, args ...interface{}) *Fail
- func NetworkConnectTimeoutError(msg ...interface{}) *Fail
- func NetworkConnectTimeoutErrorDetail(detail []string) *Fail
- func NetworkConnectTimeoutErrorf(format string, args ...interface{}) *Fail
- func NoContent(msg ...interface{}) *Fail
- func NoContentDetail(detail []string) *Fail
- func NoContentf(format string, args ...interface{}) *Fail
- func NonAuthoritativeInformation(msg ...interface{}) *Fail
- func NonAuthoritativeInformationDetail(detail []string) *Fail
- func NonAuthoritativeInformationf(format string, args ...interface{}) *Fail
- func NotAcceptable(msg ...interface{}) *Fail
- func NotAcceptableDetail(detail []string) *Fail
- func NotAcceptablef(format string, args ...interface{}) *Fail
- func NotExtended(msg ...interface{}) *Fail
- func NotExtendedDetail(detail []string) *Fail
- func NotExtendedf(format string, args ...interface{}) *Fail
- func NotFound(msg ...interface{}) *Fail
- func NotFoundDetail(detail []string) *Fail
- func NotFoundf(format string, args ...interface{}) *Fail
- func NotImplemented(msg ...interface{}) *Fail
- func NotImplementedDetail(detail []string) *Fail
- func NotImplementedf(format string, args ...interface{}) *Fail
- func NotModified(msg ...interface{}) *Fail
- func NotModifiedDetail(detail []string) *Fail
- func NotModifiedf(format string, args ...interface{}) *Fail
- func Ok(msg ...interface{}) *Fail
- func OkDetail(detail []string) *Fail
- func Okf(format string, args ...interface{}) *Fail
- func PartialContent(msg ...interface{}) *Fail
- func PartialContentDetail(detail []string) *Fail
- func PartialContentf(format string, args ...interface{}) *Fail
- func PayloadTooLarge(msg ...interface{}) *Fail
- func PayloadTooLargeDetail(detail []string) *Fail
- func PayloadTooLargef(format string, args ...interface{}) *Fail
- func PaymentRequired(msg ...interface{}) *Fail
- func PaymentRequiredDetail(detail []string) *Fail
- func PaymentRequiredf(format string, args ...interface{}) *Fail
- func PermanentRedirect(msg ...interface{}) *Fail
- func PermanentRedirectDetail(detail []string) *Fail
- func PermanentRedirectf(format string, args ...interface{}) *Fail
- func PreconditionFailed(msg ...interface{}) *Fail
- func PreconditionFailedDetail(detail []string) *Fail
- func PreconditionFailedf(format string, args ...interface{}) *Fail
- func PreconditionRequired(msg ...interface{}) *Fail
- func PreconditionRequiredDetail(detail []string) *Fail
- func PreconditionRequiredf(format string, args ...interface{}) *Fail
- func Processing(msg ...interface{}) *Fail
- func ProcessingDetail(detail []string) *Fail
- func Processingf(format string, args ...interface{}) *Fail
- func ProxyAuthenticationRequired(msg ...interface{}) *Fail
- func ProxyAuthenticationRequiredDetail(detail []string) *Fail
- func ProxyAuthenticationRequiredf(format string, args ...interface{}) *Fail
- func RequestHeaderFieldsTooLarge(msg ...interface{}) *Fail
- func RequestHeaderFieldsTooLargeDetail(detail []string) *Fail
- func RequestHeaderFieldsTooLargef(format string, args ...interface{}) *Fail
- func RequestTimeout(msg ...interface{}) *Fail
- func RequestTimeoutDetail(detail []string) *Fail
- func RequestTimeoutf(format string, args ...interface{}) *Fail
- func RequestURITooLong(msg ...interface{}) *Fail
- func RequestURITooLongDetail(detail []string) *Fail
- func RequestURITooLongf(format string, args ...interface{}) *Fail
- func RequestedRangeNotSatisfiable(msg ...interface{}) *Fail
- func RequestedRangeNotSatisfiableDetail(detail []string) *Fail
- func RequestedRangeNotSatisfiablef(format string, args ...interface{}) *Fail
- func ResetContent(msg ...interface{}) *Fail
- func ResetContentDetail(detail []string) *Fail
- func ResetContentf(format string, args ...interface{}) *Fail
- func SeeOther(msg ...interface{}) *Fail
- func SeeOtherDetail(detail []string) *Fail
- func SeeOtherf(format string, args ...interface{}) *Fail
- func ServiceUnavailable(msg ...interface{}) *Fail
- func ServiceUnavailableDetail(detail []string) *Fail
- func ServiceUnavailablef(format string, args ...interface{}) *Fail
- func SwitchingProtocols(msg ...interface{}) *Fail
- func SwitchingProtocolsDetail(detail []string) *Fail
- func SwitchingProtocolsf(format string, args ...interface{}) *Fail
- func TemporaryRedirect(msg ...interface{}) *Fail
- func TemporaryRedirectDetail(detail []string) *Fail
- func TemporaryRedirectf(format string, args ...interface{}) *Fail
- func TooManyRequests(msg ...interface{}) *Fail
- func TooManyRequestsDetail(detail []string) *Fail
- func TooManyRequestsf(format string, args ...interface{}) *Fail
- func Unauthorized(msg ...interface{}) *Fail
- func UnauthorizedDetail(detail []string) *Fail
- func Unauthorizedf(format string, args ...interface{}) *Fail
- func UnavailableForLegalReasons(msg ...interface{}) *Fail
- func UnavailableForLegalReasonsDetail(detail []string) *Fail
- func UnavailableForLegalReasonsf(format string, args ...interface{}) *Fail
- func UnprocessableEntity(msg ...interface{}) *Fail
- func UnprocessableEntityDetail(detail []string) *Fail
- func UnprocessableEntityf(format string, args ...interface{}) *Fail
- func UnsupportedMediaType(msg ...interface{}) *Fail
- func UnsupportedMediaTypeDetail(detail []string) *Fail
- func UnsupportedMediaTypef(format string, args ...interface{}) *Fail
- func UpgradeRequired(msg ...interface{}) *Fail
- func UpgradeRequiredDetail(detail []string) *Fail
- func UpgradeRequiredf(format string, args ...interface{}) *Fail
- func UseProxy(msg ...interface{}) *Fail
- func UseProxyDetail(detail []string) *Fail
- func UseProxyf(format string, args ...interface{}) *Fail
- func VariantAlsoNegotiates(msg ...interface{}) *Fail
- func VariantAlsoNegotiatesDetail(detail []string) *Fail
- func VariantAlsoNegotiatesf(format string, args ...interface{}) *Fail
- type PrettyFail
- type PrettyFailSrc
Constants ¶
const AcceptedSlug = "accepted"
AcceptedSlug ..
const AlreadyReportedSlug = "already_reported"
AlreadyReportedSlug ..
const BadGatewaySlug = "bad_gateway"
BadGatewaySlug ..
const BadRequestSlug = "bad_request"
BadRequestSlug ..
const ClientClosedRequestSlug = "client_closed_request"
ClientClosedRequestSlug ..
const ConflictSlug = "conflict"
ConflictSlug ..
const ConnectionClosedWithoutResponseSlug = "connection_closed_without_response"
ConnectionClosedWithoutResponseSlug ..
const ContinueSlug = "continue"
ContinueSlug ..
const CreatedSlug = "created"
CreatedSlug ..
const ExpectationFailedSlug = "expectation_failed"
ExpectationFailedSlug ..
const FailedDependencySlug = "failed_dependency"
FailedDependencySlug ..
const ForbiddenSlug = "forbidden"
ForbiddenSlug ..
const FoundSlug = "found"
FoundSlug ..
const GatewayTimeoutSlug = "gateway_timeout"
GatewayTimeoutSlug ..
const GoneSlug = "gone"
GoneSlug ..
const HTTPVersionNotSupportedSlug = "http_version_not_supported"
HTTPVersionNotSupportedSlug ..
const IMATeapotSlug = "i_m_a_teapot"
IMATeapotSlug ..
const ImUsedSlug = "im_used"
ImUsedSlug ..
const InsufficientStorageSlug = "insufficient_storage"
InsufficientStorageSlug ..
const InternalServerErrorSlug = "internal_server_error"
InternalServerErrorSlug ..
const LengthRequiredSlug = "length_required"
LengthRequiredSlug ..
const LockedSlug = "locked"
LockedSlug ..
const LoopDetectedSlug = "loop_detected"
LoopDetectedSlug ..
const MethodNotAllowedSlug = "method_not_allowed"
MethodNotAllowedSlug ..
const MisdirectedRequestSlug = "misdirected_request"
MisdirectedRequestSlug ..
const MovedPermanentlySlug = "moved_permanently"
MovedPermanentlySlug ..
const MultiStatusSlug = "multi_status"
MultiStatusSlug ..
const MultipleChoicesSlug = "multiple_choices"
MultipleChoicesSlug ..
const NetworkAuthenticationRequiredSlug = "network_authentication_required"
NetworkAuthenticationRequiredSlug ..
const NetworkConnectTimeoutErrorSlug = "network_connect_timeout_error"
NetworkConnectTimeoutErrorSlug ..
const NoContentSlug = "no_content"
NoContentSlug ..
const NonAuthoritativeInformationSlug = "non_authoritative_information"
NonAuthoritativeInformationSlug ..
const NotAcceptableSlug = "not_acceptable"
NotAcceptableSlug ..
const NotExtendedSlug = "not_extended"
NotExtendedSlug ..
const NotFoundSlug = "not_found"
NotFoundSlug ..
const NotImplementedSlug = "not_implemented"
NotImplementedSlug ..
const NotModifiedSlug = "not_modified"
NotModifiedSlug ..
const OkSlug = "ok"
OkSlug ..
const PartialContentSlug = "partial_content"
PartialContentSlug ..
const PayloadTooLargeSlug = "payload_too_large"
PayloadTooLargeSlug ..
const PaymentRequiredSlug = "payment_required"
PaymentRequiredSlug ..
const PermanentRedirectSlug = "permanent_redirect"
PermanentRedirectSlug ..
const PreconditionFailedSlug = "precondition_failed"
PreconditionFailedSlug ..
const PreconditionRequiredSlug = "precondition_required"
PreconditionRequiredSlug ..
const ProcessingSlug = "processing"
ProcessingSlug ..
const ProxyAuthenticationRequiredSlug = "proxy_authentication_required"
ProxyAuthenticationRequiredSlug ..
const RequestHeaderFieldsTooLargeSlug = "request_header_fields_too_large"
RequestHeaderFieldsTooLargeSlug ..
const RequestTimeoutSlug = "request_timeout"
RequestTimeoutSlug ..
const RequestURITooLongSlug = "request_uri_too_long"
RequestURITooLongSlug ..
const RequestedRangeNotSatisfiableSlug = "requested_range_not_satisfiable"
RequestedRangeNotSatisfiableSlug ..
const ResetContentSlug = "reset_content"
ResetContentSlug ..
const SeeOtherSlug = "see_other"
SeeOtherSlug ..
ServiceUnavailableSlug ..
const SwitchingProtocolsSlug = "switching_protocols"
SwitchingProtocolsSlug ..
const TemporaryRedirectSlug = "temporary_redirect"
TemporaryRedirectSlug ..
const TooManyRequestsSlug = "too_many_requests"
TooManyRequestsSlug ..
UnauthorizedSlug ..
UnavailableForLegalReasonsSlug ..
const UnprocessableEntitySlug = "unprocessable_entity"
UnprocessableEntitySlug ..
const UnsupportedMediaTypeSlug = "unsupported_media_type"
UnsupportedMediaTypeSlug ..
const UpgradeRequiredSlug = "upgrade_required"
UpgradeRequiredSlug ..
const UseProxySlug = "use_proxy"
UseProxySlug ..
const VariantAlsoNegotiatesSlug = "variant_also_negotiates"
VariantAlsoNegotiatesSlug ..
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fail ¶
type Fail struct {
Slug string `json:"code"`
Code int `json:"-"`
Message string `json:"message,omitempty"`
Detail []string `json:"detail,omitempty"`
// contains filtered or unexported fields
}
func AcceptedDetail ¶
AcceptedDetail error with detail lines
func AlreadyReported ¶
func AlreadyReported(msg ...interface{}) *Fail
AlreadyReported error with message
func AlreadyReportedDetail ¶
AlreadyReportedDetail error with detail lines
func AlreadyReportedf ¶
AlreadyReportedf error with message
func BadGatewayDetail ¶
BadGatewayDetail error with detail lines
func BadGatewayf ¶
BadGatewayf error with message
func BadRequestDetail ¶
BadRequestDetail error with detail lines
func BadRequestf ¶
BadRequestf error with message
func ClientClosedRequest ¶
func ClientClosedRequest(msg ...interface{}) *Fail
ClientClosedRequest error with message
func ClientClosedRequestDetail ¶
ClientClosedRequestDetail error with detail lines
func ClientClosedRequestf ¶
ClientClosedRequestf error with message
func ConflictDetail ¶
ConflictDetail error with detail lines
func ConnectionClosedWithoutResponse ¶
func ConnectionClosedWithoutResponse(msg ...interface{}) *Fail
ConnectionClosedWithoutResponse error with message
func ConnectionClosedWithoutResponseDetail ¶
ConnectionClosedWithoutResponseDetail error with detail lines
func ConnectionClosedWithoutResponsef ¶
ConnectionClosedWithoutResponsef error with message
func ContinueDetail ¶
ContinueDetail error with detail lines
func CreatedDetail ¶
CreatedDetail error with detail lines
func ExpectationFailed ¶
func ExpectationFailed(msg ...interface{}) *Fail
ExpectationFailed error with message
func ExpectationFailedDetail ¶
ExpectationFailedDetail error with detail lines
func ExpectationFailedf ¶
ExpectationFailedf error with message
func FailedDependency ¶
func FailedDependency(msg ...interface{}) *Fail
FailedDependency error with message
func FailedDependencyDetail ¶
FailedDependencyDetail error with detail lines
func FailedDependencyf ¶
FailedDependencyf error with message
func ForbiddenDetail ¶
ForbiddenDetail error with detail lines
func Forbiddenf ¶
Forbiddenf error with message
func GatewayTimeout ¶
func GatewayTimeout(msg ...interface{}) *Fail
GatewayTimeout error with message
func GatewayTimeoutDetail ¶
GatewayTimeoutDetail error with detail lines
func GatewayTimeoutf ¶
GatewayTimeoutf error with message
func HTTPVersionNotSupported ¶
func HTTPVersionNotSupported(msg ...interface{}) *Fail
HTTPVersionNotSupported error with message
func HTTPVersionNotSupportedDetail ¶
HTTPVersionNotSupportedDetail error with detail lines
func HTTPVersionNotSupportedf ¶
HTTPVersionNotSupportedf error with message
func IMATeapotDetail ¶
IMATeapotDetail error with detail lines
func IMATeapotf ¶
IMATeapotf error with message
func InsufficientStorage ¶
func InsufficientStorage(msg ...interface{}) *Fail
InsufficientStorage error with message
func InsufficientStorageDetail ¶
InsufficientStorageDetail error with detail lines
func InsufficientStoragef ¶
InsufficientStoragef error with message
func InternalServerError ¶
func InternalServerError(msg ...interface{}) *Fail
InternalServerError error with message
func InternalServerErrorDetail ¶
InternalServerErrorDetail error with detail lines
func InternalServerErrorf ¶
InternalServerErrorf error with message
func LengthRequired ¶
func LengthRequired(msg ...interface{}) *Fail
LengthRequired error with message
func LengthRequiredDetail ¶
LengthRequiredDetail error with detail lines
func LengthRequiredf ¶
LengthRequiredf error with message
func LoopDetectedDetail ¶
LoopDetectedDetail error with detail lines
func LoopDetectedf ¶
LoopDetectedf error with message
func MethodNotAllowed ¶
func MethodNotAllowed(msg ...interface{}) *Fail
MethodNotAllowed error with message
func MethodNotAllowedDetail ¶
MethodNotAllowedDetail error with detail lines
func MethodNotAllowedf ¶
MethodNotAllowedf error with message
func MisdirectedRequest ¶
func MisdirectedRequest(msg ...interface{}) *Fail
MisdirectedRequest error with message
func MisdirectedRequestDetail ¶
MisdirectedRequestDetail error with detail lines
func MisdirectedRequestf ¶
MisdirectedRequestf error with message
func MovedPermanently ¶
func MovedPermanently(msg ...interface{}) *Fail
MovedPermanently error with message
func MovedPermanentlyDetail ¶
MovedPermanentlyDetail error with detail lines
func MovedPermanentlyf ¶
MovedPermanentlyf error with message
func MultiStatusDetail ¶
MultiStatusDetail error with detail lines
func MultiStatusf ¶
MultiStatusf error with message
func MultipleChoices ¶
func MultipleChoices(msg ...interface{}) *Fail
MultipleChoices error with message
func MultipleChoicesDetail ¶
MultipleChoicesDetail error with detail lines
func MultipleChoicesf ¶
MultipleChoicesf error with message
func NetworkAuthenticationRequired ¶
func NetworkAuthenticationRequired(msg ...interface{}) *Fail
NetworkAuthenticationRequired error with message
func NetworkAuthenticationRequiredDetail ¶
NetworkAuthenticationRequiredDetail error with detail lines
func NetworkAuthenticationRequiredf ¶
NetworkAuthenticationRequiredf error with message
func NetworkConnectTimeoutError ¶
func NetworkConnectTimeoutError(msg ...interface{}) *Fail
NetworkConnectTimeoutError error with message
func NetworkConnectTimeoutErrorDetail ¶
NetworkConnectTimeoutErrorDetail error with detail lines
func NetworkConnectTimeoutErrorf ¶
NetworkConnectTimeoutErrorf error with message
func NoContentDetail ¶
NoContentDetail error with detail lines
func NoContentf ¶
NoContentf error with message
func NonAuthoritativeInformation ¶
func NonAuthoritativeInformation(msg ...interface{}) *Fail
NonAuthoritativeInformation error with message
func NonAuthoritativeInformationDetail ¶
NonAuthoritativeInformationDetail error with detail lines
func NonAuthoritativeInformationf ¶
NonAuthoritativeInformationf error with message
func NotAcceptableDetail ¶
NotAcceptableDetail error with detail lines
func NotAcceptablef ¶
NotAcceptablef error with message
func NotExtendedDetail ¶
NotExtendedDetail error with detail lines
func NotExtendedf ¶
NotExtendedf error with message
func NotFoundDetail ¶
NotFoundDetail error with detail lines
func NotImplemented ¶
func NotImplemented(msg ...interface{}) *Fail
NotImplemented error with message
func NotImplementedDetail ¶
NotImplementedDetail error with detail lines
func NotImplementedf ¶
NotImplementedf error with message
func NotModifiedDetail ¶
NotModifiedDetail error with detail lines
func NotModifiedf ¶
NotModifiedf error with message
func PartialContent ¶
func PartialContent(msg ...interface{}) *Fail
PartialContent error with message
func PartialContentDetail ¶
PartialContentDetail error with detail lines
func PartialContentf ¶
PartialContentf error with message
func PayloadTooLarge ¶
func PayloadTooLarge(msg ...interface{}) *Fail
PayloadTooLarge error with message
func PayloadTooLargeDetail ¶
PayloadTooLargeDetail error with detail lines
func PayloadTooLargef ¶
PayloadTooLargef error with message
func PaymentRequired ¶
func PaymentRequired(msg ...interface{}) *Fail
PaymentRequired error with message
func PaymentRequiredDetail ¶
PaymentRequiredDetail error with detail lines
func PaymentRequiredf ¶
PaymentRequiredf error with message
func PermanentRedirect ¶
func PermanentRedirect(msg ...interface{}) *Fail
PermanentRedirect error with message
func PermanentRedirectDetail ¶
PermanentRedirectDetail error with detail lines
func PermanentRedirectf ¶
PermanentRedirectf error with message
func PreconditionFailed ¶
func PreconditionFailed(msg ...interface{}) *Fail
PreconditionFailed error with message
func PreconditionFailedDetail ¶
PreconditionFailedDetail error with detail lines
func PreconditionFailedf ¶
PreconditionFailedf error with message
func PreconditionRequired ¶
func PreconditionRequired(msg ...interface{}) *Fail
PreconditionRequired error with message
func PreconditionRequiredDetail ¶
PreconditionRequiredDetail error with detail lines
func PreconditionRequiredf ¶
PreconditionRequiredf error with message
func ProcessingDetail ¶
ProcessingDetail error with detail lines
func Processingf ¶
Processingf error with message
func ProxyAuthenticationRequired ¶
func ProxyAuthenticationRequired(msg ...interface{}) *Fail
ProxyAuthenticationRequired error with message
func ProxyAuthenticationRequiredDetail ¶
ProxyAuthenticationRequiredDetail error with detail lines
func ProxyAuthenticationRequiredf ¶
ProxyAuthenticationRequiredf error with message
func RequestHeaderFieldsTooLarge ¶
func RequestHeaderFieldsTooLarge(msg ...interface{}) *Fail
RequestHeaderFieldsTooLarge error with message
func RequestHeaderFieldsTooLargeDetail ¶
RequestHeaderFieldsTooLargeDetail error with detail lines
func RequestHeaderFieldsTooLargef ¶
RequestHeaderFieldsTooLargef error with message
func RequestTimeout ¶
func RequestTimeout(msg ...interface{}) *Fail
RequestTimeout error with message
func RequestTimeoutDetail ¶
RequestTimeoutDetail error with detail lines
func RequestTimeoutf ¶
RequestTimeoutf error with message
func RequestURITooLong ¶
func RequestURITooLong(msg ...interface{}) *Fail
RequestURITooLong error with message
func RequestURITooLongDetail ¶
RequestURITooLongDetail error with detail lines
func RequestURITooLongf ¶
RequestURITooLongf error with message
func RequestedRangeNotSatisfiable ¶
func RequestedRangeNotSatisfiable(msg ...interface{}) *Fail
RequestedRangeNotSatisfiable error with message
func RequestedRangeNotSatisfiableDetail ¶
RequestedRangeNotSatisfiableDetail error with detail lines
func RequestedRangeNotSatisfiablef ¶
RequestedRangeNotSatisfiablef error with message
func ResetContentDetail ¶
ResetContentDetail error with detail lines
func ResetContentf ¶
ResetContentf error with message
func SeeOtherDetail ¶
SeeOtherDetail error with detail lines
func ServiceUnavailable ¶
func ServiceUnavailable(msg ...interface{}) *Fail
ServiceUnavailable error with message
func ServiceUnavailableDetail ¶
ServiceUnavailableDetail error with detail lines
func ServiceUnavailablef ¶
ServiceUnavailablef error with message
func SwitchingProtocols ¶
func SwitchingProtocols(msg ...interface{}) *Fail
SwitchingProtocols error with message
func SwitchingProtocolsDetail ¶
SwitchingProtocolsDetail error with detail lines
func SwitchingProtocolsf ¶
SwitchingProtocolsf error with message
func TemporaryRedirect ¶
func TemporaryRedirect(msg ...interface{}) *Fail
TemporaryRedirect error with message
func TemporaryRedirectDetail ¶
TemporaryRedirectDetail error with detail lines
func TemporaryRedirectf ¶
TemporaryRedirectf error with message
func TooManyRequests ¶
func TooManyRequests(msg ...interface{}) *Fail
TooManyRequests error with message
func TooManyRequestsDetail ¶
TooManyRequestsDetail error with detail lines
func TooManyRequestsf ¶
TooManyRequestsf error with message
func UnauthorizedDetail ¶
UnauthorizedDetail error with detail lines
func Unauthorizedf ¶
Unauthorizedf error with message
func UnavailableForLegalReasons ¶
func UnavailableForLegalReasons(msg ...interface{}) *Fail
UnavailableForLegalReasons error with message
func UnavailableForLegalReasonsDetail ¶
UnavailableForLegalReasonsDetail error with detail lines
func UnavailableForLegalReasonsf ¶
UnavailableForLegalReasonsf error with message
func UnprocessableEntity ¶
func UnprocessableEntity(msg ...interface{}) *Fail
UnprocessableEntity error with message
func UnprocessableEntityDetail ¶
UnprocessableEntityDetail error with detail lines
func UnprocessableEntityf ¶
UnprocessableEntityf error with message
func UnsupportedMediaType ¶
func UnsupportedMediaType(msg ...interface{}) *Fail
UnsupportedMediaType error with message
func UnsupportedMediaTypeDetail ¶
UnsupportedMediaTypeDetail error with detail lines
func UnsupportedMediaTypef ¶
UnsupportedMediaTypef error with message
func UpgradeRequired ¶
func UpgradeRequired(msg ...interface{}) *Fail
UpgradeRequired error with message
func UpgradeRequiredDetail ¶
UpgradeRequiredDetail error with detail lines
func UpgradeRequiredf ¶
UpgradeRequiredf error with message
func UseProxyDetail ¶
UseProxyDetail error with detail lines
func VariantAlsoNegotiates ¶
func VariantAlsoNegotiates(msg ...interface{}) *Fail
VariantAlsoNegotiates error with message
func VariantAlsoNegotiatesDetail ¶
VariantAlsoNegotiatesDetail error with detail lines
func VariantAlsoNegotiatesf ¶
VariantAlsoNegotiatesf error with message
func (*Fail) PrettyFail ¶
func (f *Fail) PrettyFail() PrettyFail
type PrettyFail ¶
type PrettyFail interface {
PrettyFail() PrettyFail
}
type PrettyFailSrc ¶
type PrettyFailSrc interface {
Source() *Fail
}