onErrorLine property

void Function(String s, Object e, StackTrace st)? onErrorLine
final

Similar to onLine but only called when an error occurs. Fallbacks to onLine if not specified.

Implementation

final void Function(String s, Object e, StackTrace st)? onErrorLine;