mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1 line
3.7 KiB
JavaScript
1 line
3.7 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4991],{3905:(e,r,t)=>{t.d(r,{Zo:()=>l,kt:()=>f});var p=t(67294);function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);r&&(p=p.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,p)}return t}function a(e){for(var r=1;r<arguments.length;r++){var t=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))}))}return e}function i(e,r){if(null==e)return{};var t,p,n=function(e,r){if(null==e)return{};var t,p,n={},o=Object.keys(e);for(p=0;p<o.length;p++)t=o[p],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var o=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])}return n}var u=p.createContext({}),c=function(e){var r=p.useContext(u),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},l=function(e){var r=c(e.components);return p.createElement(u.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){var r=e.children;return p.createElement(p.Fragment,{},r)}},m=p.forwardRef((function(e,r){var t=e.components,n=e.mdxType,o=e.originalType,u=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),m=c(t),f=n,y=m["".concat(u,".").concat(f)]||m[f]||s[f]||o;return t?p.createElement(y,a(a({ref:r},l),{},{components:t})):p.createElement(y,a({ref:r},l))}));function f(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var o=t.length,a=new Array(o);a[0]=m;var i={};for(var u in r)hasOwnProperty.call(r,u)&&(i[u]=r[u]);i.originalType=e,i.mdxType="string"==typeof e?e:n,a[1]=i;for(var c=2;c<o;c++)a[c]=t[c];return p.createElement.apply(null,a)}return p.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:()=>c});var p=t(87462),n=(t(67294),t(3905));const o={},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:"/puppeteer/api/puppeteer.puppeteer.errors",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"Puppeteer.devices property",permalink:"/puppeteer/api/puppeteer.puppeteer.devices"},next:{title:"Puppeteer.networkConditions property",permalink:"/puppeteer/api/puppeteer.puppeteer.networkconditions"}},u={},c=[{value:"Example",id:"example",level:2}],l={toc:c};function s(e){let{components:r,...t}=e;return(0,n.kt)("wrapper",(0,p.Z)({},l,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"},"get errors(): typeof errors;\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}}]); |