- 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
15 lines
428 B
JavaScript
15 lines
428 B
JavaScript
var JsonWebTokenError = function (message, error) {
|
|
Error.call(this, message);
|
|
if(Error.captureStackTrace) {
|
|
Error.captureStackTrace(this, this.constructor);
|
|
}
|
|
this.name = 'JsonWebTokenError';
|
|
this.message = message;
|
|
if (error) this.inner = error;
|
|
};
|
|
|
|
JsonWebTokenError.prototype = Object.create(Error.prototype);
|
|
JsonWebTokenError.prototype.constructor = JsonWebTokenError;
|
|
|
|
module.exports = JsonWebTokenError;
|