onError static method

void onError(
  1. String errorId,
  2. String message,
  3. String errorClass
)

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);
}