message_templatehttperror503

httperror503  时间:2021-04-10  阅读:()
Package'fauxpas'April13,2020TitleHTTPErrorHelpersDescriptionHTTPerrorhelpers.
MethodsincludedforgeneralpurposeHTTPerrorhandling,aswellasindividualmethodsforeveryHTTPstatuscode,bothviastatuscodenumbersaswellastheirdescriptivenames.
Supportsabilitytoadjustbehaviortostop,messageorwarning.
Includesabilitytousecustomwhiskertemplatetohaveanycongurationofstatuscode,shortdescription,andverbosemessage.
Currentlysupportsintegrationwith'crul','curl',and'httr'.
Version0.
5.
0LicenseMIT+leLICENSEURLhttps://docs.
ropensci.
org/fauxpas,https://github.
com/ropensci/fauxpasBugReportshttps://github.
com/ropensci/fauxpas/issuesVignetteBuilderknitrEncodingUTF-8Languageen-USImportsR6(>=2.
1.
2),httpcode(>=0.
3.
0),whiskerSuggestscrul(>=0.
5.
0),curl(>=2.
2),httr(>=1.
2.
0),testthat,knitr,rmarkdownRoxygenNote7.
1.
0X-schema.
org-applicationCategoryWebX-schema.
org-keywordshttp,https,API,web-services,curl,errors,errorX-schema.
org-isPartOfhttps://ropensci.
orgNeedsCompilationnoAuthorScottChamberlain[aut,cre]()MaintainerScottChamberlainRepositoryCRANDate/Publication2020-04-1316:10:02UTC12ErrorRtopicsdocumented:fauxpas-package2Error2Error-Classes5nd_error_class6http1007Index13fauxpas-packagefauxpasDescriptionHTTPErrorHelpersAuthor(s)ScottChamberlainErrorErrorclassDescriptionErrorclassArgumentsbehaviorBehavioroftheerror.
default:auto.
SeeDetailsmessage_templateAmessagetemplate.
optional.
usewhiskertemplating.
namestouseare:rea-sonandstatus.
useintemplatelike{{reason}}and{{status}}.
Notethat{{message}}thatisusedinmessage_template_verbosewillbeignoredhere.
call.
(logical)indicatingifthecallshouldbecomepartoftheerrormessage.
Default:FALSEmessage_template_verboseAverbosemessagetemplate.
optional.
usewhiskertemplating.
namestouseare:reason,status,message.
useintemplatelike{{reason}},{{status}},and{{message}}.
Notethatthisisignoredhere,butisusedintheHTTP*methods(e.
g.
HTTPBadRequest)muffle(logical)whethertonotrespondwhenstatuscodesin1xx-3xxseries.
Default:FALSEError3DetailsMethodsdo(response,mssg)Executecondition,whetheritbemessage,warning,orerror.
–response:isanyresponsefromcrul,curl,orhttrExecutecondition,whetheritbemes-sage,warning,error,oryourowncustomfunction.
Thismethodusesmessage_template_verbose,andusesit'sdefaultvalue.
–mssg:characterstringmessagetoincludeincall.
ignorediftemplatedoesnothaveamessageentryset_behavior(behavior)Setbehavior,sameassettingbehavioroninitializingwith$new()behaviorparameteroptionsstop-usestopwarning-usewarningmessage-usemessageauto-togglebetweenstopandmessagedependingontheHTTPstatuscodeseries.
Defaultswillbe:–1xx:message–2xx:message–3xx:message–4xx:stop–5xx:stopOfcourse,youcanalwaysoverridethedefaults.
SeeAlsohttp,Error-ClassesExamplesError$new()#resetbehavior(z{{reason}}")x$do(res)x$do_verbose(res)##End(Notrun)#serviceunavailablex{{reason}}")yy$message_template##Notrun:yy$do(res)##End(Notrun)##withverbosemessagelibrary(crul)res300CANNOTbemuffled-i.
e.
,returnthehttpresponseobject##Notrun:http(res404,muffle=TRUE)##End(Notrun)}IndexTopicpackagefauxpas-package,2Error,2,5,7,11Error-Classes,5fauxpas(fauxpas-package),2fauxpas-package,2find_error_class,6http,3,5http(http100),7http100,7http101(http100),7http102(http100),7http200(http100),7http201(http100),7http202(http100),7http203(http100),7http204(http100),7http205(http100),7http206(http100),7http207(http100),7http208(http100),7http226(http100),7http300(http100),7http301(http100),7http302(http100),7http303(http100),7http304(http100),7http305(http100),7http306(http100),7http307(http100),7http308(http100),7http400(http100),7http401(http100),7http402(http100),7http403(http100),7http404(http100),7http405(http100),7http406(http100),7http407(http100),7http408(http100),7http409(http100),7http410(http100),7http411(http100),7http412(http100),7http413(http100),7http414(http100),7http415(http100),7http416(http100),7http417(http100),7http418(http100),7http419(http100),7http420(http100),7http422(http100),7http423(http100),7http424(http100),7http425(http100),7http426(http100),7http428(http100),7http429(http100),7http431(http100),7http440(http100),7http444(http100),7http449(http100),7http450(http100),7http451(http100),7http494(http100),7http495(http100),7http496(http100),7http497(http100),7http498(http100),7http499(http100),7http500(http100),7http501(http100),7http502(http100),7http503(http100),7http504(http100),71314INDEXhttp505(http100),7http506(http100),7http507(http100),7http508(http100),7http509(http100),7http510(http100),7http511(http100),7http598(http100),7http599(http100),7HTTPAccepted(Error-Classes),5HTTPAlreadyReported(Error-Classes),5HTTPATimeoutOccurred(Error-Classes),5HTTPAuthenticationTimeout(Error-Classes),5HTTPBadGateway(Error-Classes),5HTTPBadRequest(Error-Classes),5HTTPBandwidthLimitExceeded(Error-Classes),5HTTPBlockedByWindowsParentalControls(Error-Classes),5HTTPCertError(Error-Classes),5HTTPClientClosedRequest(Error-Classes),5HTTPConflict(Error-Classes),5HTTPConnectionTimedOut(Error-Classes),5HTTPContinue(Error-Classes),5HTTPCreated(Error-Classes),5HTTPExpectationFailed(Error-Classes),5HTTPFailedDependency(Error-Classes),5HTTPForbidden(Error-Classes),5HTTPFound(Error-Classes),5HTTPGatewayTimeout(Error-Classes),5HTTPGone(Error-Classes),5HTTPHTTPToHTTPS(Error-Classes),5HTTPHTTPVersionNotSupported(Error-Classes),5HTTPImUsed(Error-Classes),5HTTPInsufficientStorage(Error-Classes),5HTTPInternalServerError(Error-Classes),5HTTPInvalidSSLCertificate(Error-Classes),5HTTPLengthRequired(Error-Classes),5HTTPLocked(Error-Classes),5HTTPLoginTimeout(Error-Classes),5HTTPLoopDetected(Error-Classes),5HTTPMethodFailure(Error-Classes),5HTTPMethodNotAllowed(Error-Classes),5HTTPMisdirectedRequest(Error-Classes),5HTTPMovedPermanently(Error-Classes),5HTTPMultipleChoices(Error-Classes),5HTTPMultiStatus(Error-Classes),5HTTPNetworkAuthenticationRequired(Error-Classes),5HTTPNetworkConnectTimeoutError(Error-Classes),5HTTPNetworkReadTimeoutError(Error-Classes),5HTTPNoCert(Error-Classes),5HTTPNoContent(Error-Classes),5HTTPNonAuthoritativeInformation(Error-Classes),5HTTPNoResponse(Error-Classes),5HTTPNotAcceptable(Error-Classes),5HTTPNotExtended(Error-Classes),5HTTPNotFound(Error-Classes),5HTTPNotImplemented(Error-Classes),5HTTPNotModified(Error-Classes),5HTTPOK(Error-Classes),5HTTPOriginIsUnreachable(Error-Classes),5HTTPPartialContent(Error-Classes),5HTTPPaymentRequired(Error-Classes),5HTTPPermanentRedirect(Error-Classes),5HTTPPreconditionFailed(Error-Classes),5HTTPPreconditionRequired(Error-Classes),5HTTPProcessing(Error-Classes),5HTTPProxyAuthenticationRequired(Error-Classes),5HTTPRailgunError(Error-Classes),5HTTPRequestEntityTooLarge(Error-Classes),5HTTPRequestHeaderFieldsTooLarge(Error-Classes),5HTTPRequestHeaderTooLarge(Error-Classes),5HTTPRequestRangeNotSatisfiable(Error-Classes),5HTTPRequestTimeout(Error-Classes),5HTTPRequestURITooLong(Error-Classes),5HTTPResetContent(Error-Classes),5INDEX15HTTPRetryWith(Error-Classes),5HTTPSeeOther(Error-Classes),5HTTPServiceUnavailable(Error-Classes),5HTTPSSLHandshakeFailed(Error-Classes),5HTTPSwitchProtocol(Error-Classes),5HTTPSwitchProxy(Error-Classes),5HTTPTeaPot(Error-Classes),5HTTPTemporaryRedirect(Error-Classes),5HTTPTokenExpiredInvalid(Error-Classes),5HTTPTooManyRequests(Error-Classes),5HTTPUnauthorized(Error-Classes),5HTTPUnavailableForLegalReasons(Error-Classes),5HTTPUnorderedCollection(Error-Classes),5HTTPUnprocessableEntity(Error-Classes),5HTTPUnsupportedMediaType(Error-Classes),5HTTPUpgradeRequired(Error-Classes),5HTTPUseProxy(Error-Classes),5HTTPVariantAlsoNegotiates(Error-Classes),5HTTPWebServerIsDown(Error-Classes),5HTTPWebServerReturnedUnknownError(Error-Classes),5

统计一下racknerd正在卖的超便宜VPS,值得推荐的便宜美国VPS

racknerd从成立到现在发展是相当迅速,用最低的价格霸占了大部分低端便宜vps市场,虽然VPS价格便宜,但是VPS的质量和服务一点儿都不拉跨,服务器稳定、性能给力,尤其是售后方面时间短技术解决能力强,估计这也是racknerd这个品牌能如此成功的原因吧! 官方网站:https://www.racknerd.com 多种加密数字货币、信用卡、PayPal、支付宝、银联、webmoney,可...

ManSora:英国CN2 VPS,1核/1GB内存/10GB SSD/1TB流量/100Mbps/KVM,$18.2/月

mansora怎么样?mansora是一家国人商家,主要提供沪韩IEPL、沪日IEPL、深港IEPL等专线VPS。现在新推出了英国CN2 KVM VPS,线路为AS4809 AS9929,可解锁 Netflix,并有永久8折优惠。英国CN2 VPS,$18.2/月/1GB内存/10GB SSD空间/1TB流量/100Mbps端口/KVM,有需要的可以关注一下。点击进入:mansora官方网站地址m...

数脉科技:香港服务器低至350元/月;阿里云CN2+BGP线路,带宽10M30M50M100M

数脉科技(shuhost)8月促销:香港独立服务器,自营BGP、CN2+BGP、阿里云线路,新客立减400港币/月,老用户按照优惠码减免!香港服务器带宽可选10Mbps、30Mbps、50Mbps、100Mbps带宽,支持中文本Windows、Linux等系统。数脉香港特价阿里云10MbpsCN2,e3-1230v2,16G内存,1T HDD 或 240G SSD,10Mbps带宽,IPv41个,...

httperror503为你推荐
特朗普取消访问丹麦特朗普首次出访为什么选择梵蒂冈怎么查询商标怎样查询商标有没有被注册方法有哪些?甲骨文不满赔偿公司倒闭员工不满一年怎么赔偿www.kkk.com谁有免费的电影网站,越多越好?rawtoolsU盘显示是RAW格式怎么办www.5ff.comhttp://www.940777.com/网站,是不是真的网投六合javbibibibi直播是真的吗www.ca800.com西门子plc仿真软件有什么功能www.gogo.comNEO春之色直径?www.dm8.cc有谁知道海贼王最新漫画网址是多少??
域名劫持 顶级域名 域名备案网站 云网数据 liquidweb 360抢票助手 一点优惠网 国外免费空间 炎黄盛世 亚马逊香港官网 稳定免费空间 美国独立日 免费asp空间申请 lamp架构 国外网页代理 阿里dns 双十二促销 国外免费网盘 wordpress空间 建站技术 更多