OnError typedef

OnError = void Function(WebResourceError error)

A typedef representing a function that handles errors in loading web resources.

The OnError function takes a WebResourceError object as a parameter and returns no value.

Implementation

typedef OnError = void Function(WebResourceError error);