> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# isRetryable

```typescript
isRetryable(error: unknown): undefined | boolean
```

Whether the agent marked the failure as retryable (`cognition.ai/retryable`).
`undefined` when the error carries no such hint.

## Parameters

**error** `unknown` *required*

## Returns

`undefined | boolean`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.