OnError typedef

OnError = dynamic Function(Exception e)

OnError defines the structure of error handler used by the components in the ui kit

Implementation

typedef OnError = Function(Exception e);