//[core](../../../../index.md)/[com.yandex.payment.sdk.core.data](../../index.md)/[Result](../index.md)/[Error](index.md)

# Error

[core]\
class [Error](index.md)<[T](index.md)>(**error**: [PaymentKitError](../../-payment-kit-error/index.md)) : [Result](../index.md)<[T](index.md)> 

Произошла ошибка.

## Parameters

core

| | |
|---|---|
| error | данные об ошибке. |

## Constructors

| | |
|---|---|
| [Error](-error.md) | [core]<br>fun [Error](-error.md)(error: [PaymentKitError](../../-payment-kit-error/index.md))<br>данные об ошибке. |

## Properties

| Name | Summary |
|---|---|
| [error](error.md) | [core]<br>val [error](error.md): [PaymentKitError](../../-payment-kit-error/index.md)<br>данные об ошибке. |
