Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { withErrorMsg } from "@tsed/schema";
See /packages/specs/schema/src/utils/withErrorMsg.ts.
function withErrorMsg<Decorator extends (...args: any[]) => any>(errorKey: string, originalDecorator: Decorator): ErrorChainedDecorator<Decorator>;