Defjs
Core

FormattedStructError

Nested error tree returned by StructError.format().

@defjs/core · Type

Signature

interface FormattedStructError {
  _errors: string[];
  [key: string]: FormattedStructError | string[];
}

Leaf messages live under _errors; nested keys mirror the failing path. A path segment literally named _errors is stored as \_errors.

Members

Prop

Type

_errors string[]
Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao