UNPKG

@twurple/common

Version:

Common functions used by the `@twurple` library family.

12 lines (11 loc) 384 B
import { CustomError } from './CustomError.js'; /** * These are the kind of errors that should never happen. * * If you see one thrown, please file a bug in the GitHub issue tracker. */ export class HellFreezesOverError extends CustomError { constructor(message) { super(`${message} - this should never happen, please file a bug in the GitHub issue tracker`); } }