Show:

ValidationError Class

Defined in: a25_validate.js:658
Module: breeze

A ValidatationError is used to describe a failed validation.

Methods

<ctor> ValidationError

(
  • validator
  • context
  • errorMessage
)

Defined in a25_validate.js:664

Parameters:

  • validator Validator
  • context Object
  • errorMessage String

Properties

context

Object

Defined in a25_validate.js:692

A 'context' object associated with this ValidationError.

readOnly

errorMessage

String

Defined in a25_validate.js:713

The error message associated with the ValidationError.

readOnly

property

DataProperty | NavigationProperty

Defined in a25_validate.js:699

The DataProperty or NavigationProperty associated with this ValidationError.

readOnly

propertyName

String

Defined in a25_validate.js:706

The property name associated with this ValidationError. This will be a "property path" for any properties of a complex object.

readOnly

validator

Validator

Defined in a25_validate.js:685

The Validator associated with this ValidationError.

readOnly