import { type ParserResult } from "https://deno.land/x/domain_functions@v3.0.0/src/types.ts";
The result of input or environment validation.
See the type Result
for the return values of domain functions.
It is usually not visible to the end user unless one wants to write an adapter for a schema validator.
definition: { success: true; data: T; } | { success: false; error: { issues: ParserIssue[]; }; }