Skip to content

docs: fix TypeScript unrecoverable error example#190

Closed
kiwigitops wants to merge 1 commit into
aws:mainfrom
kiwigitops:docs/fix-ts-unrecoverable-error-173
Closed

docs: fix TypeScript unrecoverable error example#190
kiwigitops wants to merge 1 commit into
aws:mainfrom
kiwigitops:docs/fix-ts-unrecoverable-error-173

Conversation

@kiwigitops
Copy link
Copy Markdown

Summary

  • Removes the TypeScript example that imports UnrecoverableInvocationError, which is not exported by the TypeScript SDK.
  • Replaces it with the public retryStrategy: () => ({ shouldRetry: false }) pattern for non-retryable step failures.

Fixes #173.

Value

Prevents readers from copying a TypeScript example that fails to compile and points them to a supported SDK pattern instead.

Validation

  • Confirmed UnrecoverableInvocationError is not exported from the TypeScript SDK index.ts on main.
  • Verified the updated document no longer contains UnrecoverableInvocationError and includes the no-retry retryStrategy example.

Documentation

  • Updated aws-lambda-durable-functions-power/steering/error-handling.md.

Checks not run

  • Documentation-only change; no local docs build was run in this sandbox.

Limitations or follow-up

  • A dedicated public TypeScript unrecoverable-error API remains tracked separately in the SDK feature request linked from the issue.

@kiwigitops
Copy link
Copy Markdown
Author

Closing this because I opened it in error: this automation should avoid docs-only PRs.

@kiwigitops kiwigitops closed this May 24, 2026
@kiwigitops kiwigitops deleted the docs/fix-ts-unrecoverable-error-173 branch May 24, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs]: (bug) UnrecoverableInvocationError in error-handling.md does not exist in TypeScript SDK

1 participant