export class ConfigurationError extends Error { constructor ( message ) { super ( message ) ; Object . setPrototypeOf ( this , ConfigurationError . prototype ) ; } } export class JwtVerifierError extends Error { public code : string ; constructor ( code , message ) { super ( message ) ; Object . setPrototypeOf ( this , JwtVerifierError . prototype ) ; this . code = code ; } }