currentError property

Object? currentError
getter/setter pair

Track the error currently being handled (either from await or sync throw)

Implementation

Object? currentError;