puppeteer/assets/js/84af6bc3.8237f9ef.js
release-please[bot] cbca7ae4e6 deploy: 9fbb9f9653
2024-02-05 10:26:42 +00:00

2 lines
3.0 KiB
JavaScript

/*! For license information please see 84af6bc3.8237f9ef.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[60468],{61627:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>o,default:()=>u,frontMatter:()=>n,metadata:()=>a,toc:()=>c});var s=t(85893),p=t(11151);const n={sidebar_label:"PuppeteerError"},o="PuppeteerError class",a={id:"api/puppeteer.puppeteererror",title:"PuppeteerError class",description:"The base class for all Puppeteer-specific errors",source:"@site/versioned_docs/version-22.0.0/api/puppeteer.puppeteererror.md",sourceDirName:"api",slug:"/api/puppeteer.puppeteererror",permalink:"/api/puppeteer.puppeteererror",draft:!1,unlisted:!1,tags:[],version:"22.0.0",frontMatter:{sidebar_label:"PuppeteerError"},sidebar:"api",previous:{title:"puppeteer",permalink:"/api/puppeteer.puppeteer"},next:{title:"PuppeteerLaunchOptions",permalink:"/api/puppeteer.puppeteerlaunchoptions"}},i={},c=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2}];function l(e){const r={code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,p.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h1,{id:"puppeteererror-class",children:"PuppeteerError class"}),"\n",(0,s.jsx)(r.p,{children:"The base class for all Puppeteer-specific errors"}),"\n",(0,s.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-typescript",children:"export declare class PuppeteerError extends Error\n"})}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"Extends:"})," Error"]}),"\n",(0,s.jsx)(r.h2,{id:"remarks",children:"Remarks"}),"\n",(0,s.jsxs)(r.p,{children:["The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ",(0,s.jsx)(r.code,{children:"PuppeteerError"})," class."]})]})}function u(e={}){const{wrapper:r}={...(0,p.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},75251:(e,r,t)=>{var s=t(67294),p=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,t){var s,n={},c=null,l=null;for(s in void 0!==t&&(c=""+t),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(l=r.ref),r)o.call(r,s)&&!i.hasOwnProperty(s)&&(n[s]=r[s]);if(e&&e.defaultProps)for(s in r=e.defaultProps)void 0===n[s]&&(n[s]=r[s]);return{$$typeof:p,type:e,key:c,ref:l,props:n,_owner:a.current}}r.Fragment=n,r.jsx=c,r.jsxs=c},85893:(e,r,t)=>{e.exports=t(75251)},11151:(e,r,t)=>{t.d(r,{Z:()=>a,a:()=>o});var s=t(67294);const p={},n=s.createContext(p);function o(e){const r=s.useContext(n);return s.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(p):e.components||p:o(e.components),s.createElement(n.Provider,{value:r},e.children)}}}]);