diff --git a/src/js/consts/errors.js b/src/js/consts/errors.js index ff5989fe4e..7e7a6113c1 100644 --- a/src/js/consts/errors.js +++ b/src/js/consts/errors.js @@ -9,5 +9,12 @@ export default { SegmentAppendError: 'segment-append-error', VttLoadError: 'vtt-load-error', VttCueParsingError: 'vtt-cue-parsing-error', - EMEKeySessionCreationError: 'eme-key-session-creation-error' + EMEKeySessionCreationError: 'eme-key-session-creation-error', + // Errors used in contrib-ads: + AdsBeforePrerollError: 'ads-before-preroll-error', + AdsPrerollError: 'ads-preroll-error', + AdsMidrollError: 'ads-midroll-error', + AdsPostrollError: 'ads-postroll-error', + AdsMacroReplacementFailed: 'ads-marco-replacement-failed', + AdsResumeContentFailed: 'ads-resume-content-failed' };