puppeteer/new-docs/puppeteer.protocol.media.playererror.errorcode.md
2020-07-13 14:01:35 +01:00

14 lines
769 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Media](./puppeteer.protocol.media.md) &gt; [PlayerError](./puppeteer.protocol.media.playererror.md) &gt; [errorCode](./puppeteer.protocol.media.playererror.errorcode.md)
## Protocol.Media.PlayerError.errorCode property
When this switches to using media::Status instead of PipelineStatus we can remove "errorCode" and replace it with the fields from a Status instance. This also seems like a duplicate of the error level enum - there is a todo bug to have that level removed and use this instead. (crbug.com/1068454)
<b>Signature:</b>
```typescript
errorCode: string;
```