mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Merge pull request #9837 from timvandermeij/unreachable
Replace `NotImplementedException` with `unreachable`
This commit is contained in:
commit
646d81cd09
2 changed files with 128 additions and 164 deletions
|
@ -444,18 +444,6 @@ var UnexpectedResponseException =
|
|||
return UnexpectedResponseException;
|
||||
})();
|
||||
|
||||
var NotImplementedException = (function NotImplementedExceptionClosure() {
|
||||
function NotImplementedException(msg) {
|
||||
this.message = msg;
|
||||
}
|
||||
|
||||
NotImplementedException.prototype = new Error();
|
||||
NotImplementedException.prototype.name = 'NotImplementedException';
|
||||
NotImplementedException.constructor = NotImplementedException;
|
||||
|
||||
return NotImplementedException;
|
||||
})();
|
||||
|
||||
var MissingDataException = (function MissingDataExceptionClosure() {
|
||||
function MissingDataException(begin, end) {
|
||||
this.begin = begin;
|
||||
|
@ -1038,7 +1026,6 @@ export {
|
|||
MissingDataException,
|
||||
MissingPDFException,
|
||||
NativeImageDecoding,
|
||||
NotImplementedException,
|
||||
PasswordException,
|
||||
PasswordResponses,
|
||||
StreamType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue