UNPKG

idtoken-verifier

Version:

A lightweight library to decode and verify RS JWT meant for the browser.

12 lines (10 loc) 335 B
export function ConfigurationError(message) { this.name = 'ConfigurationError'; this.message = message || ''; } ConfigurationError.prototype = Error.prototype; export function TokenValidationError(message) { this.name = 'TokenValidationError'; this.message = message || ''; } TokenValidationError.prototype = Error.prototype;