mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
/*! For license information please see 2bff0cb4.f5db8bcb.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[86633],{15055:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>s,default:()=>l,frontMatter:()=>i,metadata:()=>a,toc:()=>u});var o=t(85893),n=t(11151);const i={sidebar_label:"TimeoutError"},s="TimeoutError class",a={id:"api/puppeteer.timeouterror",title:"TimeoutError class",description:"TimeoutError is emitted whenever certain operations are terminated due to timeout.",source:"@site/versioned_docs/version-21.6.0/api/puppeteer.timeouterror.md",sourceDirName:"api",slug:"/api/puppeteer.timeouterror",permalink:"/api/puppeteer.timeouterror",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"TimeoutError"},sidebar:"api",previous:{title:"Coverage.stopJSCoverage",permalink:"/api/puppeteer.coverage.stopjscoverage"},next:{title:"EventEmitter",permalink:"/api/puppeteer.eventemitter"}},p={},u=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2}];function c(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.h1,{id:"timeouterror-class",children:"TimeoutError class"}),"\n",(0,o.jsx)(r.p,{children:"TimeoutError is emitted whenever certain operations are terminated due to timeout."}),"\n",(0,o.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,o.jsx)(r.pre,{children:(0,o.jsx)(r.code,{className:"language-typescript",children:"export declare class TimeoutError extends CustomError\n"})}),"\n",(0,o.jsxs)(r.p,{children:[(0,o.jsx)(r.strong,{children:"Extends:"})," ",(0,o.jsx)(r.a,{href:"/api/puppeteer.customerror",children:"CustomError"})]}),"\n",(0,o.jsx)(r.h2,{id:"remarks",children:"Remarks"}),"\n",(0,o.jsxs)(r.p,{children:["Example operations are ",(0,o.jsx)(r.a,{href:"/api/puppeteer.page.waitforselector",children:"page.waitForSelector"})," or ",(0,o.jsx)(r.a,{href:"/api/puppeteer.puppeteernode.launch",children:"puppeteer.launch"}),"."]})]})}function l(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},75251:(e,r,t)=>{var o=t(67294),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function u(e,r,t){var o,i={},u=null,c=null;for(o in void 0!==t&&(u=""+t),void 0!==r.key&&(u=""+r.key),void 0!==r.ref&&(c=r.ref),r)s.call(r,o)&&!p.hasOwnProperty(o)&&(i[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===i[o]&&(i[o]=r[o]);return{$$typeof:n,type:e,key:u,ref:c,props:i,_owner:a.current}}r.Fragment=i,r.jsx=u,r.jsxs=u},85893:(e,r,t)=>{e.exports=t(75251)},11151:(e,r,t)=>{t.d(r,{Z:()=>a,a:()=>s});var o=t(67294);const n={},i=o.createContext(n);function s(e){const r=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),o.createElement(i.Provider,{value:r},e.children)}}}]); |