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