interface FormattedError
Since 0.1.0

A single formatted error entry.

Properties

field: string

Dot-separated field path.

message: string

Human-readable message.

optional
code: string

Optional machine-readable error code.

Usage

import { type FormattedError } from "validation-plugin/src/index.ts";