OnError typedef

OnError = void Function(String)

Implementation

typedef OnError = void Function(String);