mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
[api-minor] Remove the image-related error message prefixes
Other custom errors, based on `BaseException`, do not use such a format.
This commit is contained in:
parent
5ad42c13ad
commit
912b57b95d
8 changed files with 33 additions and 15 deletions
|
@ -18,9 +18,9 @@ import {
|
|||
setVerbosityLevel,
|
||||
VerbosityLevel,
|
||||
} from "./shared/util.js";
|
||||
import { Jbig2Image } from "./core/jbig2.js";
|
||||
import { JpegImage } from "./core/jpg.js";
|
||||
import { JpxImage } from "./core/jpx.js";
|
||||
import { Jbig2Error, Jbig2Image } from "./core/jbig2.js";
|
||||
import { JpegError, JpegImage } from "./core/jpg.js";
|
||||
import { JpxError, JpxImage } from "./core/jpx.js";
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const pdfjsVersion =
|
||||
|
@ -31,8 +31,11 @@ const pdfjsBuild =
|
|||
|
||||
export {
|
||||
getVerbosityLevel,
|
||||
Jbig2Error,
|
||||
Jbig2Image,
|
||||
JpegError,
|
||||
JpegImage,
|
||||
JpxError,
|
||||
JpxImage,
|
||||
setVerbosityLevel,
|
||||
VerbosityLevel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue