Skip to content

MovedPermanently

@tsed/exceptions

Usage ​

typescript
import { MovedPermanently } from "@tsed/exceptions";

See /packages/specs/exceptions/src/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;

Released under the MIT License.