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) 282 B
import { Action } from '../Action'; import { ForbiddenError } from '../http-error/ForbiddenError'; /** * Thrown when route is guarded by @Authorized decorator. */ export declare class AccessDeniedError extends ForbiddenError { name: string; constructor(action: Action); }