UNPKG

bluecodex

Version:

Turn repetitive dev tasks into CLI commands with Typescript

12 lines (10 loc) 225 B
export class DataTypeCastNumberError< Token extends string = string, > extends Error { constructor(readonly token: Token) { super(); } get message() { return `Unable to cast "${this.token}" to number`; } }