pyspark.errors.PySparkException.getErrorClass

PySparkException.getErrorClass() → Optional[str][source]

Returns an error class as a string.

New in version 3.4.0.