telme/lib/errors/invalid_arguments.error.ts
Sagi Dayan 2db82b708d [WIP]
- Changed from js to ts
 - Added implementation for profiles
 - Can also be used as a node_module
2020-03-22 18:09:33 -04:00

7 lines
217 B
TypeScript

import BaseError from './base_error';
export default class InvalidArgumentsError extends BaseError {
constructor(msg: string) {
super(`Invalid Arguments: ${msg}`, BaseError.ErrorCodes.INVALID_ARGS_ERROR);
}
}