UNPKG

twitch-js

Version:

Javascript library for the Twitch Messaging Interface.

14 lines (13 loc) 478 B
import { BaseMessage } from '../twitch'; import BaseError from '../utils/BaseError'; export declare class ClientError extends BaseError { command?: string; constructor(error: Error | string, message?: BaseMessage | string); } export declare class AuthenticationError extends ClientError { constructor(error: Error, message?: BaseMessage); } export declare class ParseError extends ClientError { _raw: string; constructor(error: Error, rawMessage: string); }