telme/lib/errors/invalid_arguments.error.ts

7 lines
No EOL
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);
}
}