Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Media.PlayerError

Headless Chrome Deno API
Latest
interface Protocol.Media.PlayerError
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.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)