---
title: "retry.onThrow()"
description: "Inside a task, retry the wrapped code if it throws an error."
---

<Snippet file="incomplete-docs.mdx" />
