onExceptionThrown property
Stream<ExceptionThrownEvent>
get
onExceptionThrown
Issued when exception was thrown and unhandled.
Implementation
Stream<ExceptionThrownEvent> get onExceptionThrown => _client.onEvent
.where((event) => event.name == 'Runtime.exceptionThrown')
.map((event) => ExceptionThrownEvent.fromJson(event.parameters));