@zxing/library
Version:
TypeScript port of ZXing multi-format 1D/2D barcode image processing library.
15 lines • 421 B
JavaScript
import { CustomError } from 'ts-custom-error';
/**
* Custom Error class of type Exception.
*/
export default class Exception extends CustomError {
/**
* Allows Exception to be constructed directly
* with some message and prototype definition.
*/
constructor(message = undefined) {
super(message);
this.message = message;
}
}
//# sourceMappingURL=Exception.js.map