UNPKG

routing-controllers

Version:

Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.

10 lines (9 loc) 315 B
import { Action } from '../Action'; import { UnauthorizedError } from '../http-error/UnauthorizedError'; /** * Thrown when authorization is required thought @CurrentUser decorator. */ export declare class AuthorizationRequiredError extends UnauthorizedError { name: string; constructor(action: Action); }