diff --git a/src/js/consts/errors.js b/src/js/consts/errors.js index a0ab2246d7..67e14c0f99 100644 --- a/src/js/consts/errors.js +++ b/src/js/consts/errors.js @@ -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' };