Skip to main content
Module

x/youtubei/deno.ts>Parser.ParserError

A wrapper around YouTube's internal API — reverse engineering InnerTube
Very Popular
Go to Latest
type alias Parser.ParserError
import { type Parser } from "https://deno.land/x/youtubei@v9.3.0-deno/deno.ts";
const { ParserError } = Parser;
definition: { classname: string; } & (
| { error_type: "typecheck"; classdata: RawNode; expected: string | string[]; }
| { error_type: "parse"; classdata: RawNode; error: unknown; }
| { error_type: "mutation_data_missing"; classname: string; }
| { error_type: "mutation_data_invalid"; total: number; failed: number; titles: string[]; }
| { error_type: "class_not_found"; key_info: KeyInfo; }
| { error_type: "class_changed"; key_info: KeyInfo; changed_keys: KeyInfo; }
)