ValidationError
Constructor Summary
Public Constructor | ||
public |
constructor(type: string, message: string, data: object) Create instance. |
Member Summary
Public Members | ||
public get |
data: object Data object with extra information about validation result. |
source |
public get |
message: string Validate error message. |
source |
public get |
type: string Validation rule type. |
source |
Public Constructors
public constructor(type: string, message: string, data: object) source
Create instance.
Params:
Name | Type | Attribute | Description |
type | string | Validation rule type. |
|
message | string | Validate error message. |
|
data | object | data object with extra information about validation result. |