Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValidationError

Represents a validation error.

Hierarchy

Index

Properties

Error

Error: ErrorConstructor

Optional errors

errors: string[]

An array of error messages

Optional inner

In the case of aggregate errors, inner is an array of ValidationErrors throw earlier in the validation chain.

message

message: string

name

name: string

Optional params

params: Record<string, unknown>

Optional path

path: undefined | string

A string, indicating where there error was thrown. path is empty at the root level.

Optional stack

stack: undefined | string

Optional type

type: unknown

Optional value

value: unknown

Generated using TypeDoc