"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4991],{3905:(e,r,t)=>{t.d(r,{Zo:()=>c,kt:()=>f});varp=t(67294);functionn(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functiono(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varp=Object.getOwnPropertySymbols(e);r&&(p=p.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,p)}returnt}functiona(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){n(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functioni(e,r){if(null==e)return{};vart,p,n=function(e,r){if(null==e)return{};vart,p,n={},o=Object.keys(e);for(p=0;p<o.length;p++)t=o[p],r.indexOf(t)>=0||(n[t]=e[t]);returnn}(e,r);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(p=0;p<o.length;p++)t=o[p],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}returnn}varu=p.createContext({}),l=function(e){varr=p.useContext(u),t=r;returne&&(t="function"==typeofe?e(r):a(a({},r),e)),t},c=function(e){varr=l(e.components);returnp.createElement(u.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){varr=e.children;returnp.createElement(p.Fragment,{},r)}},m=p.forwardRef((function(e,r){vart=e.components,n=e.mdxType,o=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),m=l(t),f=n,y=m["".concat(u,".").concat(f)]||m[f]||s[f]||o;returnt?p.createElement(y,a(a({ref:r},c),{},{components:t})):p.createElement(y,a({ref:r},c))}));functionf(e,r){vart=arguments,n=r&&r.mdxType;if("string"==typeofe||n){varo=t.length,a=newArray(o);a[0]=m;vari={};for(varuinr)hasOwnProperty.call(r,u)&&(i[u]=r[u]);i.originalType=e,i.mdxType="string"==typeofe?e:n,a[1]=i;for(varl=2;l<o;l++)a[l]=t[l];returnp.createElement.apply(null,a)}returnp.createElement.apply(null,t)}m.displayName="MDXCreateElement"},8222:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>u,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>l});varp=t(87462),n=(t(67294),t(3905));consto={sidebar_label:"Puppeteer.errors"},a="Puppeteer.errors property",i={unversionedId:"api/puppeteer.puppeteer.errors",id:"api/puppeteer.puppeteer.errors",title:"Puppeteer.errors property",description:"Warning: This API is now obsolete.",source:"@site/../docs/api/puppeteer.puppeteer.errors.md",sourceDirName:"api",slug:"/api/puppeteer.puppeteer.errors",permalink:"/next/api/puppeteer.puppeteer.errors",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Puppeteer.errors"},sidebar:"sidebar",previous:{title:"Puppeteer.devices",permalink:"/next/api/puppeteer.puppeteer.devices"},next:{title:"Puppeteer.networkConditions",permalink:"/next/api/puppeteer.puppeteer.networkconditions"}},u={},l=[{value:"Example",id:"example",level:2}],c={toc:l};functions(e){let{components:r,...t}=e;return(0,n.kt)("wrapper",(0,p.Z)({},c,t,{components:r,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"puppeteererrors-property"},"Puppeteer.errors property"),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"Warning: This API is now obsolete."),(0,n.kt)("p",{parentName:"blockquote"},"Import directly puppeteer.")),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"Signature:")),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-typescript"},"class Puppeteer {\n get errors(): typeof errors;\n}\n")),(0,n.kt)("h2",{id:"example"},"Example"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ts"},"import {errors} from 'puppeteer';\n")))}s.isMDXComponent=!0}}]);