error property

Exception? error
final

If an exception is thrown, the error field will capture it.

Implementation

final Exception? error;