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 |
Methods
-
getMessage() : {oj.Message}
-
Returns an Object that duck-types oj.Message which is an Object with summary, detail, and severity properties. The severity is oj.Message.SEVERITY_LEVEL['ERROR']
Returns:
an Object that duck-types oj.Message which is an Object with summary, detail, and severity properties. The severity is oj.Message.SEVERITY_LEVEL['ERROR']- Type
- oj.Message