Skip to content

Commit 6e8ba3b

Browse files
Update src/content/docs/workflows/build/workers-api.mdx
Co-authored-by: Pedro Sousa <[email protected]>
1 parent 201e0d4 commit 6e8ba3b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/content/docs/workflows/build/workers-api.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,8 @@ Refer to the [documentation on sleeping and retrying](/workflows/build/sleeping-
160160

161161
## NonRetryableError
162162

163-
- <code>
164-
throw new NonRetryableError(message: <Type text="string" />, name{" "}
165-
<Type text="string" /> <MetaInfo text="optional" />)
166-
</code>
167-
: <Type text="NonRetryableError" />
163+
{/* prettier-ignore */}
164+
- <code>throw new NonRetryableError(message: <Type text="string" />, name <Type text="string" /> <MetaInfo text="optional" />)</code>: <Type text="NonRetryableError" />
168165
- Throws an error that forces the current Workflow instance to fail and not be retried.
169166
- Refer to the [documentation on sleeping and retrying](/workflows/build/sleeping-and-retrying/) to learn more about how Workflows are retried.
170167

0 commit comments

Comments
 (0)