Skip to content

UpgradeRequired

@tsed/exceptions

Usage ​

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

See /packages/specs/exceptions/src/clientErrors/UpgradeRequired.ts.

Overview ​

ts
class UpgradeRequired extends ClientException {
    static readonly STATUS = 426;
    constructor(message: string, origin?: Error | string | any);
}

static readonly STATUS ​

ts
static readonly STATUS = 426;

Released under the MIT License.