twitch-js
Version:
Javascript library for the Twitch Messaging Interface.
20 lines (19 loc) • 651 B
TypeScript
import { BaseMessage } from '../twitch';
import BaseError from '../utils/BaseError';
export declare class ChatError extends BaseError {
command?: string;
constructor(error: Error | string, message?: BaseMessage | string);
}
export declare class AuthenticationError extends ChatError {
constructor(error: Error, message?: BaseMessage);
}
export declare class ParseError extends ChatError {
_raw: string;
constructor(error: Error, rawMessage: string);
}
export declare class JoinError extends ChatError {
constructor(message?: string);
}
export declare class TimeoutError extends ChatError {
constructor(message?: string);
}