UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

13 lines 329 B
import { CustomError } from './custom.js'; export class ValidationError extends CustomError { constructor({ message, reason, metadata, error }) { super({ message, code: 422, reason, metadata, error, }); } } //# sourceMappingURL=validation.js.map