@twurple/api
Version:
Interact with Twitch's API.
11 lines (10 loc) • 310 B
JavaScript
import { CustomError } from '@twurple/common';
/**
* Thrown whenever you try something that requires your own stream to be live.
*/
export class StreamNotLiveError extends CustomError {
/** @private */
constructor(options) {
super('Your stream needs to be live to do this', options);
}
}