We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed8d24f commit cac3c32Copy full SHA for cac3c32
docs/v3/errors-retrying.mdx
@@ -66,6 +66,8 @@ We provide some useful functions that you can use to retry smaller parts of a ta
66
You can retry a block of code that can throw an error, with the same retry settings as a task.
67
68
```ts /trigger/retry-on-throw.ts
69
+import { task, logger, retry } from "@trigger.dev/sdk/v3"
70
+
71
export const retryOnThrow = task({
72
id: "retry-on-throw",
73
run: async (payload: any) => {
0 commit comments