PluginErrorDetails class

Properties

exceptionClass

Name of the error class/interface/character (depending on the plugin being used).

message

Short error description.

backtrace

Error backtrace.

platform

Name of the plugin where the error occurred.

virtualMachineVersion

Virtual machine version.

pluginEnvironment

Plugin integration environment.

exceptionClass

var exceptionClass: String?

Name of the error class/interface/character (depending on the plugin being used). No more than 100 characters. AppMetrica truncates any characters over the limit.

message

var message: String?

Short error description. No more than 1000 characters. AppMetrica truncates any characters over the limit.

backtrace

var backtrace: [StackTraceElement]?

Error backtrace. No more than 200 stack frames. AppMetrica truncates the value if it exceeds the limit.

platform

var platform: String?

Name of the plugin where the error occurred. No more than 100 characters. AppMetrica truncates any characters over the limit.

Use the constants defined in PluginErrorDetails for popular plugins, or specify a custom string for plugins that don't have a corresponding constant.

virtualMachineVersion

var virtualMachineVersion: String?

Virtual machine version. No more than 100 characters. AppMetrica truncates any characters over the limit.

In this property, you can specify the plugin version that you're using (for example, Unity or Flutter).

pluginEnvironment

var pluginEnvironment: [String : String]?

Plugin integration environment. A custom dictionary containing any additional information about the plugin.

No more than 50 key-value pairs. No more than 100 characters for the key, and no more than 2000 characters for the value. AppMetrica truncates any characters over the limit.