Forbidden
@tsed/exceptions
Usage
typescript
import { Forbidden } from "@tsed/exceptions";
See /packages/specs/exceptions/src/types/clientErrors/Forbidden.ts.
Overview
ts
class Forbidden extends ClientException {
static readonly STATUS = 403;
constructor(message: string, origin?: Error | string | any);
}
static readonly STATUS
ts
static readonly STATUS = 403;