OnError typedef

OnError = void Function(int code, String msg)

Implementation

typedef OnError = void Function(int code, String msg);