interface FormatValidationErrors
Since 0.1.0

The shaped error body produced by a validation error formatter.

Index Signatures

[key: string] : unknown

Properties

Array of formatted error entries.

optional
message: string | string[]

Human-readable summary message (optional; present on default/nestjs, omitted on rfc7807).

Usage

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