OnErrorCallback typedef

OnErrorCallback = void Function(int code, String reason)

Implementation

typedef OnErrorCallback = void Function(int code, String reason);