Constructor
new ValidatorError(summary, detail)
Constructs a ValidatorError instance from a summary and detail
Parameters:
Name | Type | Description |
---|---|---|
summary |
string | a localized String that provides a summary of the error |
detail |
string | a localized String that provides a detail of the error |
- Source:
- ojvalidation/Validator.js, line 63
Methods
-
getMessage() → {Object}
-
Returns an instance of oj.Message.
- Source:
- ojvalidation/Validator.js, line 94
Returns:
instance of oj.Message- Type
- Object
-
Init(message)
-
Initializes the instance.
Parameters:
Name Type Description message
Object an instance of oj.Message - Source:
- ojvalidation/Validator.js, line 78