Skip to content

ExpectationFailed

@tsed/exceptions

Usage ​

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

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

Overview ​

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

static readonly STATUS ​

ts
static readonly STATUS = 417;

Released under the MIT License.