import { FatalAppError } from '@app/core/errors/fatal-error.js';

/**
 * Em cmd client error.
 */
export class EmCmdError extends FatalAppError {
    constructor(method: string, option: string, options: string[]) {
        const message = `Invalid option "${option}" for ${method}, allowed options ${JSON.stringify(options)}`;
        super(message);
    }
}
