HyukjinKwon commented on code in PR #41150:
URL: https://github.com/apache/spark/pull/41150#discussion_r1193292405


##########
python/pyspark/sql/streaming/listener.py:
##########
@@ -295,6 +299,17 @@ def exception(self) -> Optional[str]:
         """
         return self._exception
 
+    @property
+    def errorClassOnException(self) -> Optional[str]:
+        """
+        The error class from the exception if the query was terminated
+        with an exception which is a part of error class framework.
+        If the query was terminated without an exception, or the
+        exception is not a part of error class framework, it will be
+        `None`.

Review Comment:
   ```suggestion
           `None`.
   
           .. versionadded:: 3.5.0
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to