telme/lib/errors/invalid_bot_chat_config.error.ts
Sagi Dayan 49c36b471f Fixes
- init/help/version does not throw an error if there is no config file
 - node_module usage - now working
2020-03-25 18:40:18 -04:00

7 lines
No EOL
219 B
TypeScript

import BaseError from './base_error';
export default class InvalidBotOrChatConfig extends BaseError {
constructor() {
super(`bot_token OR chat_id are invalid`, BaseError.ErrorCodes.INVALID_BOT_CHAT_CONFIG);
}
}