trackException

The trackException() method records caught exceptions (errors) in your app. For each exception, you need to define handling code.

Syntax

await FlutterPiwikPro.sharedInstance.trackException(description: "description");

Parameters

description (string, optional)

Additional information about the issue.

Examples

To send a caught exception:

await FlutterPiwikPro.sharedInstance.trackException(description: "Download error");