getException method
Returns an indication if the test failed with an exception.
Syntax
let value = obj.getException();
value = obj.exception;
Note that this feature is available as both a method and a property.
Parameters
This method does not take any parameters.Return value
- Type: EyesError
- A value that is not null indicates that an exception occured when running the test.