Python -VV
Pip Freeze
Reproduction Steps
Just do :
error = SDKError("", 0, "")
print({error})
Expected Behavior
Hashable SDKError object that can be mapped as dictionary.
Additional Context
I recently created a PR. However the code is auto generated so there is no way to fix it this way.
I encounter the issue as I was sending exception from Mistral to Rollbar as explained in the PR.
Suggested Solutions
Adding frozen=True like in the PR and it will work well.