import { CustomError } from 'ts-custom-error' ; class BaseError extends CustomError { timestamp : Date = new Date ( ) ; constructor ( message ) { super ( message ) ; this . message = `[TwitchJS] ${ message }` ; } } export default BaseError ;