Home > hls.js > LoaderOnError

LoaderOnError type

Signature:

export type LoaderOnError<T extends LoaderContext> = (error: {
    code: number;
    text: string;
}, context: T, networkDetails: any, stats: LoaderStats) => void;

References: LoaderContext, LoaderStats