SP.ListItemFormUpdateValue.hasException property (sp.js)
Indicates whether there was an error result after validating the value for the field.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ListItemFormUpdateValue.get_hasException ()
var value = SP.ListItemFormUpdateValue.set_hasException ()
Return value
Boolean