reportError static method
Sends an error message message
with the description errorDescription
.
If there is no errorDescription
description, the current stacktrace will be automatically added.
Implementation
static Future<void> reportError(
{String? message, AppMetricaErrorDescription? errorDescription}) =>
_appMetrica.reportError(
errorDescription.tryToAddCurrentTrace().toPigeon(), message);