Files
2026-02-25 00:50:23 +05:30

13 lines
267 B
JavaScript

import { PathReporter } from './PathReporter';
/**
* @since 1.0.0
* @deprecated
*/
export var ThrowReporter = {
report: function (validation) {
if (validation.isLeft()) {
throw PathReporter.report(validation).join('\n');
}
}
};