originalException property
When this runtime error wraps a native exception thrown from a bridged
adapter (method, static method, getter, setter, operator, constructor),
the original exception object is preserved here. This lets a typed
on NativeType / bare catch clause in interpreted code dispatch against
the real exception type rather than this RuntimeError wrapper.
(OPEN B.5 — U13/U24.)
Implementation
final Object? originalException;