puppeteer/assets/js/7fe65e3b.8c932581.js
release-please[bot] fd73aeeec3 deploy: b3bfdd2024
2024-02-02 12:29:10 +00:00

2 lines
3.0 KiB
JavaScript

/*! For license information please see 7fe65e3b.8c932581.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[73400],{85648:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>o,default:()=>u,frontMatter:()=>s,metadata:()=>a,toc:()=>i});var n=t(85893),p=t(11151);const s={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/../docs/api/puppeteer.puppeteererror.md",sourceDirName:"api",slug:"/api/puppeteer.puppeteererror",permalink:"/next/api/puppeteer.puppeteererror",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"PuppeteerError"},sidebar:"api",previous:{title:"puppeteer",permalink:"/next/api/puppeteer.puppeteer"},next:{title:"PuppeteerLaunchOptions",permalink:"/next/api/puppeteer.puppeteerlaunchoptions"}},c={},i=[{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,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"puppeteererror-class",children:"PuppeteerError class"}),"\n",(0,n.jsx)(r.p,{children:"The base class for all Puppeteer-specific errors"}),"\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 PuppeteerError extends Error\n"})}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"Extends:"})," Error"]}),"\n",(0,n.jsx)(r.h2,{id:"remarks",children:"Remarks"}),"\n",(0,n.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,n.jsx)(r.code,{children:"PuppeteerError"})," class."]})]})}function u(e={}){const{wrapper:r}={...(0,p.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},75251:(e,r,t)=>{var n=t(67294),p=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(e,r,t){var n,s={},i=null,l=null;for(n in void 0!==t&&(i=""+t),void 0!==r.key&&(i=""+r.key),void 0!==r.ref&&(l=r.ref),r)o.call(r,n)&&!c.hasOwnProperty(n)&&(s[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===s[n]&&(s[n]=r[n]);return{$$typeof:p,type:e,key:i,ref:l,props:s,_owner:a.current}}r.Fragment=s,r.jsx=i,r.jsxs=i},85893:(e,r,t)=>{e.exports=t(75251)},11151:(e,r,t)=>{t.d(r,{Z:()=>a,a:()=>o});var n=t(67294);const p={},s=n.createContext(p);function o(e){const r=n.useContext(s);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(p):e.components||p:o(e.components),n.createElement(s.Provider,{value:r},e.children)}}}]);