Type Alias: PlayerError
type PlayerError =
| NetworkError
| UnsupportedFormatError
| LoadFailedError
| DisposedError
| InvalidStateError
| UnsupportedError
| RawMpvError;
Defined in: packages/player/src/errors.ts:185
The typed error taxonomy of @afkcodes/timbre-player.
Every error surfaced by the Player — thrown from a method, delivered
to an on('error') listener, or stored in PlayerState.error — is one of
these. There is no untyped escape: unclassifiable mpv failures land in
RawMpvError with mpv's own string attached.