Appearance
type CreatedException<T> = typeof BaseException & T extends never ? (message?: string, options?: ErrorOptions) => BaseException : (args: T, options?: ErrorOptions) => BaseException;
T
any
never