OnError typedef

OnError = void Function(Error error)

Implementation

typedef OnError = void Function(Error error);