---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.2
alternate:
  - https://appmetrica.yandex.by/docs/en/sdk/ios/analytics/swift/PluginErrorDetails.md
  - https://appmetrica.yandex.by/docs/ru/sdk/ios/analytics/swift/PluginErrorDetails.md
  - href: en/sdk/ios/analytics/swift/PluginErrorDetails.md
    type: text/markdown
    title: Markdown version
  - href: ../../../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.by/docs/en/llms.txt

# PluginErrorDetails class

## Properties {#property_summary}

#|
|| [exceptionClass](#property_exceptionClass) | Name of the error class/interface/character (depending on the plugin being used). ||
|| [message](#property_message) | Short error description. ||
|| [backtrace](#property_backtrace) | Error backtrace. ||
|| [platform](#property_platform) | Name of the plugin where the error occurred. ||
|| [virtualMachineVersion](#property_virtualMachineVersion) | Virtual machine version. ||
|| [pluginEnvironment](#property_pluginEnvironment) | Plugin integration environment. ||
|#

### exceptionClass {#property_exceptionClass}

```swift translate=no
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 {#property_message}

```swift translate=no
var message: String?
```

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

### backtrace {##property_backtrace}

```swift translate=no
var backtrace: [StackTraceElement]?
```

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

### platform {##property_platform}

```swift translate=no
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 {##property_virtualMachineVersion}

```swift translate=no
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 {##property_pluginEnvironment}

```swift translate=no
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.
