errorObject
errorObject(): Object;
The errorObject method of the Exception class returns a reference to the object in error if this is relevant to the exception, otherwise it returns null. For example, the Object not found and Object deleted system exceptions return a reference to the object that is not found or is deleted, respectively.