RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/lib/errors/InvalidCommandUsage.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { RocketChatError } from './RocketChatError';

export class InvalidCommandUsage extends RocketChatError<'invalid-command-usage'> {
    constructor(message = 'Executing a command requires at least a message with a room id.', details?: string) {
        super('invalid-command-usage', message, details);
    }
}