embassy
Version:
Simple JSON Web Tokens (JWT) with embedded scopes for services
12 lines (11 loc) • 334 B
TypeScript
/**
* Thrown when attempting to sign or verify a token with an unknown key ID that
* cannot be resolved to a key.
*
* Sets a `status` property to 401 so this error can be treated as an HTTP error
* for convenience.
*/
export declare class KeyNotFoundError extends Error {
status: number;
constructor(message: string);
}