Skip to main content

Interface: NetworkError

Defined in: packages/player/src/errors.ts:94

Playback of a network source failed part-way: a premature EOF, a dropped connection, or a stream that never delivered decodable data.

Properties

code

readonly code: "network";

Defined in: packages/player/src/errors.ts:95


message

readonly message: string;

Defined in: packages/player/src/errors.ts:97

Human-readable summary, safe to show in a UI.


raw

readonly raw: string;

Defined in: packages/player/src/errors.ts:99

The mpv error string this was classified from.


retryable

readonly retryable: boolean;

Defined in: packages/player/src/errors.ts:103

Always true. See Retryable.


uri?

readonly optional uri?: string;

Defined in: packages/player/src/errors.ts:101

The source URI that failed, when known.