Skip to content

Commit

Permalink
feat: refactor error consts (#8719)
Browse files Browse the repository at this point in the history
* feat: refactor error consts

* fix: add failed
  • Loading branch information
adrums86 committed May 6, 2024
1 parent 9946a19 commit 4dfea61
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/js/consts/errors.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
export default {
UnsupportedSidxContainer: 'unsupported-sidx-container-error',
DashManifestSidxParsingError: 'dash-manifest-sidx-parsing-error',
HlsPlaylistRequestError: 'hls-playlist-request-error',
SegmentUnsupportedMediaFormat: 'segment-unsupported-media-format-error',
UnsupportedMediaInitialization: 'unsupported-media-initialization-error',
SegmentSwitchError: 'segment-switch-error',
SegmentExceedsSourceBufferQuota: 'segment-exceeds-source-buffer-quota-error',
SegmentAppendError: 'segment-append-error',
VttLoadError: 'vtt-load-error',
VttCueParsingError: 'vtt-cue-parsing-error'
NetworkBadStatus: 'networkbadstatus',
NetworkRequestFailed: 'networkrequestfailed',
NetworkRequestAborted: 'networkrequestaborted',
NetworkRequestTimeout: 'networkrequesttimeout',
NetworkBodyParserFailed: 'networkbodyparserfailed',
StreamingHlsPlaylistParserError: 'streaminghlsplaylistparsererror',
StreamingDashManifestParserError: 'streamingdashmanifestparsererror',
StreamingContentSteeringParserError: 'streamingcontentsteeringparsererror',
StreamingVttParserError: 'streamingvttparsererror',
StreamingFailedToSelectNextSegment: 'streamingfailedtoselectnextsegment',
StreamingFailedToDecryptSegment: 'streamingfailedtodecryptsegment',
StreamingFailedToTransmuxSegment: 'streamingfailedtotransmuxsegment',
StreamingFailedToAppendSegment: 'streamingfailedtoappendsegment',
StreamingCodecsChangeError: 'streamingcodecschangeerror'
};

0 comments on commit 4dfea61

Please sign in to comment.