mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
|
/*! For license information please see df8c82a9.609417ce.js.LICENSE.txt */
|
||
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[89440],{78070:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>c,default:()=>l,frontMatter:()=>s,metadata:()=>i,toc:()=>p});var t=n(85893),o=n(11151);const s={sidebar_label:"ErrorCode"},c="ErrorCode type",i={id:"api/puppeteer.errorcode",title:"ErrorCode type",description:"Signature:",source:"@site/../docs/api/puppeteer.errorcode.md",sourceDirName:"api",slug:"/api/puppeteer.errorcode",permalink:"/next/api/puppeteer.errorcode",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ErrorCode"},sidebar:"api",previous:{title:"ElementScreenshotOptions",permalink:"/next/api/puppeteer.elementscreenshotoptions"},next:{title:"errors",permalink:"/next/api/puppeteer.errors"}},a={},p=[{value:"Signature:",id:"signature",level:4}];function d(e){const r={code:"code",h1:"h1",h4:"h4",pre:"pre",...(0,o.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"errorcode-type",children:"ErrorCode type"}),"\n",(0,t.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:"export type ErrorCode =\n | 'aborted'\n | 'accessdenied'\n | 'addressunreachable'\n | 'blockedbyclient'\n | 'blockedbyresponse'\n | 'connectionaborted'\n | 'connectionclosed'\n | 'connectionfailed'\n | 'connectionrefused'\n | 'connectionreset'\n | 'internetdisconnected'\n | 'namenotresolved'\n | 'timedout'\n | 'failed';\n"})})]})}function l(e={}){const{wrapper:r}={...(0,o.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},75251:(e,r,n)=>{var t=n(67294),o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function p(e,r,n){var t,s={},p=null,d=null;for(t in void 0!==n&&(p=""+n),void 0!==r.key&&(p=""+r.key),void 0!==r.ref&&(d=r.ref),r)c.call(r,t)&&!a.hasOwnProperty(t)&&(s[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===s[t]&&(s[t]=r[t]);return{$$typeof:o,type:e,key:p,ref:d,props:s,_owner:i.current}}r.Fragment=s,r.jsx=p,r.jsxs=p},85893:(e,r,n)=>{e.exports=n(75251)},11151:(e,r,n)=>{n.d(r,{Z:()=>i,a:()=>c});var t=n(67294);const o={},s=t.createContext(o);function c(e){const r=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),t.createElement(s.Provider,{value:r},e.children)}}}]);
|