twitch-js
Version:
Javascript library for the Twitch Messaging Interface.
15 lines (14 loc) • 469 B
TypeScript
import { Response } from 'node-fetch';
import BaseError from '../BaseError';
declare class FetchError extends BaseError {
ok: Response['ok'];
status: Response['status'];
statusText: Response['statusText'];
url: Response['url'];
body: any;
constructor(response: Response, body: any);
}
declare class AuthenticationError extends FetchError {
constructor(response: Response, body: any);
}
export { BaseError, FetchError, AuthenticationError };