@dazejs/framework
Version:
Daze.js - A powerful web framework for Node.js
14 lines (12 loc) • 312 B
text/typescript
/**
* Copyright (c) 2018 Chan Zewail
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
export class IllegalArgumentError extends Error {
constructor(message = 'Illegal Argument') {
super(message);
Error.captureStackTrace(this, this.constructor);
}
}