Allow decoding instanceless exceptions by lostmsu · Pull Request #1544 · pythonnet/pythonnet

@lostmsu

Added new class clr.interop.PyErr with optional type, value, and traceback attributes. User can register decoders for it, that would let them decode instanceless (and even typeless) Python exceptions.

These decoders will be invoked before the regular exception instance decoders.

@lostmsu lostmsu deleted the decode-instanceless-exn branch

September 22, 2021 21:05