Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValidationError

Hierarchy

  • ValidationError

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ValidationError(propertyName: string | number, message: string, object: any): ValidationError
  • Parameters

    • propertyName: string | number
    • message: string
    • object: any

    Returns ValidationError

Properties

children

children: ValidationError[] = new Array<ValidationError>()

message

message: string

A message about the invalid property.

object

object: any

The object for this level of the validation check.

propertyName

propertyName: string | number

The name of the property that was invalid or the index of the invalid object if for an array.

Methods

addChild

getValue

  • getValue(): any
  • Returns any