Home Reference Source RepositoryJoin us on Slack
public class | source

ValidationErrorItem

Validation Error Item Instances of this class are included in the ValidationError.errors property.

Member Summary

Public Members
public

The DAO instance that caused the validation error

public

message: String

An error message

public

path: String

The field that triggered the validation error

public

type: String

The type/origin of the validation error

public

validatorArgs: String

Parameters used with the BUILT-IN validator function, if applicable

public

validatorKey: String

A validation "key", used for identification

public

validatorName: String

Property name of the BUILT-IN validator function that caused the validation error (e.g.

public

value: String

The value that generated the error

Public Members

public instance: Model source

The DAO instance that caused the validation error

public message: String source

An error message

public path: String source

The field that triggered the validation error

public type: String source

The type/origin of the validation error

public validatorArgs: String source

Parameters used with the BUILT-IN validator function, if applicable

public validatorKey: String source

A validation "key", used for identification

public validatorName: String source

Property name of the BUILT-IN validator function that caused the validation error (e.g. "in" or "len"), if applicable

public value: String source

The value that generated the error