import { UnleashError } from './unleash-error'; class UsedTokenError extends UnleashError { statusCode = 403; constructor(usedAt: Date) { super(`Token was already used at ${usedAt}`); } } export default UsedTokenError; module.exports = UsedTokenError;