embassy
Version:
Simple JSON Web Tokens (JWT) with embedded scopes for services
12 lines (11 loc) • 316 B
TypeScript
/**
* Thrown when checking for or setting a scope name that cannot be resolved to
* an index.
*
* Sets a `status` property to 403 so this error can be treated as an HTTP error
* for convenience.
*/
export declare class ScopeNotFoundError extends Error {
status: number;
constructor(message: string);
}