mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add enum for media errors
This commit is contained in:
parent
94c5b586db
commit
081d408b18
5 changed files with 52 additions and 26 deletions
9
src/types/mediaError.ts
Normal file
9
src/types/mediaError.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Error types used for reporting media playback errors.
|
||||
*/
|
||||
export enum MediaError {
|
||||
MEDIA_DECODE_ERROR = 'mediadecodeerror',
|
||||
MEDIA_NOT_SUPPORTED = 'medianotsupported',
|
||||
NETWORK_ERROR = 'network',
|
||||
SERVER_ERROR = 'servererror'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue