onError static method
Records an app exception.
Commonly used to catch unhandled exceptions. Specifies error name using
errorId, and error message in message. Specifies exception attributes
like exception name and exception reason in errorClass.
Implementation
static void onError(String errorId, String message, String errorClass) {
flurryAgent?.onError(errorId, message, errorClass);
}