You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					12 lines
				
				389 B
			
		
		
			
		
	
	
					12 lines
				
				389 B
			| 
											3 years ago
										 | var JsonWebTokenError = function (message, error) { | ||
|  |   Error.call(this, message); | ||
|  |   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; |