Skip to content

ProxyError

@tsed/exceptions

Usage

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

See /packages/specs/exceptions/src/types/serverErrors/ProxyError.ts.

Overview

ts
class ProxyError extends ServerException {
    static readonly STATUS = 502;
    name: string;
    constructor(message: string, origin?: Error | string | any);
}

static readonly STATUS

ts
static readonly STATUS = 502;

name

ts
name: string;

Released under the MIT License.