Skip to content

withErrorMsg

@tsed/schema

Usage

typescript
import { withErrorMsg } from "@tsed/schema";

See /packages/specs/schema/src/utils/withErrorMsg.ts.

Overview

ts
function withErrorMsg<Decorator extends (...args: any[]) => any>(errorKey: string, originalDecorator: Decorator): ErrorChainedDecorator<Decorator>;

Released under the MIT License.