typenexus
Version:
TypeNexus is a good tool for API encapsulation and management. It provides a clean and lightweight way to package TypeORM functionality, helping you build applications faster while reducing template code redundancy and type conversion work.
10 lines (9 loc) • 309 B
TypeScript
import { Action } from '../Action.js';
import { UnauthorizedError } from './UnauthorizedError.js';
/**
* Thrown when authorization is required thought @CurrentUser decorator.
*/
export declare class AuthorizationRequiredError extends UnauthorizedError {
name: string;
constructor(action: Action);
}