zxing-js/library

View on GitHub
src/core/NotFoundException.ts

Summary

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

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