PySparkException.
getMessageParameters
Returns a message parameters as a dictionary.
New in version 3.4.0.
See also
PySparkException.getErrorClass()
PySparkException.getSqlState()