zxing-js/library

View on GitHub
src/core/ChecksumException.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import Exception from './Exception';

/**
 * Custom Error class of type Exception.
 */
export default class ChecksumException extends Exception {
  static readonly kind: string = 'ChecksumException';
  static getChecksumInstance(): ChecksumException {
    return new ChecksumException();
  }
}