9 lines
180 B
TypeScript
9 lines
180 B
TypeScript
|
|
class CommandExecutionError extends Error {
|
||
|
|
constructor(message = '') {
|
||
|
|
super(message);
|
||
|
|
this.name = 'CommandExecutionError';
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
export default CommandExecutionError;
|