Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Media.PlayerError
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { PlayerError } = Protocol.Media;

Corresponds to kMediaError

Properties

type: ("pipeline_error" | "media_error")

(PlayerErrorType enum)

errorCode: string

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)