@twurple/common
Version:
Common functions used by the `@twurple` library family.
12 lines (11 loc) • 385 B
JavaScript
import { CustomError } from "./CustomError.mjs";
/**
* 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`);
}
}