UnexpectedErrorHandler typedef

UnexpectedErrorHandler = void Function(Object error, StackTrace stackTrace, {required String appletPhpUrl})

Host-supplied hook for unexpected applet fetch failures.

Invoked by AppletParser after a failed re-auth retry for UnknownException and non-LanisException errors. liblanis never depends on Sentry; the host wires this to its reporter.

Implementation

typedef UnexpectedErrorHandler = void Function(
  Object error,
  StackTrace stackTrace, {
  required String appletPhpUrl,
});