cause property

Object? cause
final

The underlying error, when there is one. Not carried across the embedding worker boundary (it may not be sendable); there the message says it.

Implementation

final Object? cause;