update devDependencies, eslint config, address lint issues
[squeep-indieauth-helper] / lib / errors.js
1 'use strict';
2
3 class ValidationError extends Error {
4 constructor(...args) {
5 super(...args);
6 delete this.stack;
7 }
8
9 get name() {
10 return this.constructor.name;
11 }
12 }
13
14 module.exports = {
15 ValidationError,
16 };