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