Skip to content

PermanentRedirect

@tsed/exceptions

Usage

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

See /packages/specs/exceptions/src/types/redirections/PermanentRedirect.ts.

Overview

ts
class PermanentRedirect extends RedirectException {
    static readonly STATUS = 308;
    constructor(message: string, origin?: Error | string | any);
}

static readonly STATUS

ts
static readonly STATUS = 308;

Released under the MIT License.