cause property
The error that caused this one, when there is one (an error from outside the package, or the error behind a failure the client raised itself). It is never part of message or toString: its text may hold credentials. Where it was thrown, when the client knows, is stackTrace.
Implementation
final Object? cause;