# useUncageError

<!-- https://uncage.vercel.app/docs/api/react/functions/useuncageerror/ -->

```ts
function useUncageError(): object;
```

Defined in: react/src/hooks.ts:157

## Returns

`object`

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `error?` | `UncageClientError` | react/src/hooks.ts:157 |
| `dismiss()` | () => `void` | react/src/hooks.ts:157 |
