- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
13 lines
395 B
JavaScript
13 lines
395 B
JavaScript
var JsonWebTokenError = require('./JsonWebTokenError');
|
|
|
|
var TokenExpiredError = function (message, expiredAt) {
|
|
JsonWebTokenError.call(this, message);
|
|
this.name = 'TokenExpiredError';
|
|
this.expiredAt = expiredAt;
|
|
};
|
|
|
|
TokenExpiredError.prototype = Object.create(JsonWebTokenError.prototype);
|
|
|
|
TokenExpiredError.prototype.constructor = TokenExpiredError;
|
|
|
|
module.exports = TokenExpiredError; |