puppeteer/assets/js/01adeb8e.ac411c61.js

2 lines
3.2 KiB
JavaScript
Raw Normal View History

/*! For license information please see 01adeb8e.ac411c61.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[37903],{85742:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>s,default:()=>l,frontMatter:()=>i,metadata:()=>a,toc:()=>u});var n=t(85893),o=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/../docs/api/puppeteer.timeouterror.md",sourceDirName:"api",slug:"/api/puppeteer.timeouterror",permalink:"/next/api/puppeteer.timeouterror",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"TimeoutError"},sidebar:"api",previous:{title:"Coverage.stopJSCoverage",permalink:"/next/api/puppeteer.coverage.stopjscoverage"},next:{title:"EventEmitter",permalink:"/next/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,o.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"timeouterror-class",children:"TimeoutError class"}),"\n",(0,n.jsx)(r.p,{children:"TimeoutError is emitted whenever certain operations are terminated due to timeout."}),"\n",(0,n.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-typescript",children:"export declare class TimeoutError extends CustomError\n"})}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"Extends:"})," ",(0,n.jsx)(r.a,{href:"/next/api/puppeteer.customerror",children:"CustomError"})]}),"\n",(0,n.jsx)(r.h2,{id:"remarks",children:"Remarks"}),"\n",(0,n.jsxs)(r.p,{children:["Example operations are ",(0,n.jsx)(r.a,{href:"/next/api/puppeteer.page.waitforselector",children:"page.waitForSelector"})," or ",(0,n.jsx)(r.a,{href:"/next/api/puppeteer.puppeteernode.launch",children:"puppeteer.launch"}),"."]})]})}function l(e={}){const{wrapper:r}={...(0,o.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},75251:(e,r,t)=>{var n=t(67294),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__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 n,i={},u=null,c=null;for(n in void 0!==t&&(u=""+t),void 0!==r.key&&(u=""+r.key),void 0!==r.ref&&(c=r.ref),r)s.call(r,n)&&!p.hasOwnProperty(n)&&(i[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===i[n]&&(i[n]=r[n]);return{$$typeof:o,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 n=t(67294);const o={},i=n.createContext(o);function s(e){const r=n.useContext(i);return n.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(o):e.components||o:s(e.components),n.createElement(i.Provider,{value:r},e.children)}}}]);