<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@friendlycaptcha/sdk](./sdk.md) &gt; [WidgetErrorData](./sdk.widgeterrordata.md)

## WidgetErrorData interface


**Signature:**

```typescript
export interface WidgetErrorData 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[code](./sdk.widgeterrordata.code.md)


</td><td>


</td><td>

[WidgetErrorCode](./sdk.widgeterrorcode.md)


</td><td>

The error code.


</td></tr>
<tr><td>

[detail](./sdk.widgeterrordata.detail.md)


</td><td>


</td><td>

string


</td><td>

More details about the error to help debugging. This value is not localized and will change between versions.

You can print this to the console, but make sure not to depend on it in your code.


</td></tr>
<tr><td>

[title?](./sdk.widgeterrordata.title.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Localization key, such as `t_verification_failed`<!-- -->.


</td></tr>
</tbody></table>

