YMMPluginErrorDetails class

The class contains a description of the plugin error.

Properties

exceptionClass

Class/interface name. Allowed size is up to 100 characters.

message

Error description. Allowed size is up to 100 characters.

backtrace

Error backtrace. Allowed size: Up to 200 frames.

platform

Name of the plugin where the error occurred. Allowed size is up to 100 characters.

virtualMachineVersion

Virtual machine version. Allowed size is up to 100 characters.

pluginEnvironment

Plugin environment.

exceptionClass

Class/interface name. Allowed size is up to 100 characters.

message

Error description. Allowed size is up to 100 characters.

backtrace

Error backtrace. Allowed size: Up to 200 frames.

platform

Name of the plugin where the error occurred. Allowed size is up to 100 characters.

virtualMachineVersion

Virtual machine version. Allowed size is up to 100 characters.

pluginEnvironment

Plugin environment.

Property descriptions

exceptionClass

(nonatomic, copy, nullable) NSString *exceptionClass

Class/interface name. Allowed size is up to 100 characters.

message

(nonatomic, copy, nullable) NSString *message

Error description. Allowed size is up to 100 characters.

backtrace

(nonatomic, copy, nullable) NSArray<YMMStackTraceElement *> *backtrace;

Error backtrace. Allowed size: Up to 200 frames.

platform

(nonatomic, copy, nullable) NSString *platform

Name of the plugin where the error occurred. Allowed size is up to 100 characters.

For popular plugins, use the constants:
  • NSString * const kYMMPlatformNative = @"native";
  • NSString * const kYMMPlatformFlutter = @"flutter";
  • NSString * const kYMMPlatformUnity = @"unity";
  • NSString * const kYMMPlatformReactNative = @"react_native";
  • NSString * const kYMMPlatformXamarin = @"xamarin";
  • NSString * const kYMMPlatformCordova = @"cordova";

virtualMachineVersion

(nonatomic, copy, nullable) NSString *virtualMachineVersion

Virtual machine version. Allowed size is up to 100 characters.

pluginEnvironment

(nonatomic, copy, nullable) NSDictionary<NSString *, NSString *> *pluginEnvironment

Plugin environment.

The maximum number of key-value parameters is 50. The maximum allowed parameter size is 100 characters for the key and 2000 characters for the value. If the value exceeds the limit, AppMetrica truncates it.