OnError typedef

OnError = void Function(Exception error)

Implementation

typedef OnError = void Function(Exception error);