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


##########
python/docs/source/reference/pyspark.errors.rst:
##########
@@ -27,3 +27,14 @@ Errors
 
     PySparkException.getErrorClass
     PySparkException.getMessageParameters
+    CapturedException.getErrorClass
+    CapturedException.getMessageParameters
+    CapturedException.getSqlState

Review Comment:
   We should probably separate methods vs classes. I don't mind if you plan to 
do this separately.
   
   BTW, can we just document three methods?
   
   ```
       PySparkException.getErrorClass
       PySparkException.getMessageParameters
       PySparkException.getSqlState
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to