NotFoundException.js 274 B

1234567891011
  1. import Exception from './Exception';
  2. /**
  3. * Custom Error class of type Exception.
  4. */
  5. export default class NotFoundException extends Exception {
  6. static getNotFoundInstance() {
  7. return new NotFoundException();
  8. }
  9. }
  10. NotFoundException.kind = 'NotFoundException';