"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidationError = void 0;
const domain_error_1 = require("./domain-error");
class ValidationError extends domain_error_1.DomainError {
    details;
    code = 'VALIDATION_ERROR';
    statusCode = 400;
    constructor(message, details) {
        super(message);
        this.details = details;
    }
}
exports.ValidationError = ValidationError;
//# sourceMappingURL=validation-error.js.map