Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Inconsistencies in the error handling guide #646

@djarnis73

Description

@djarnis73

When comparing the various SDK examples in the error handling guide I noticed the following inconsistencies:

  • The TypeScript & Go examples always re-throws the exception even if it is not a terminal on (rethrow is outside e instanceof restate.TerminalError).
  • The Java example does not actually re-throw the exception.

(I'm a Java developer so I may be wrong on the ts and go stuff).

If my observations are correct, I will be happy to contribute a PR, but I suspect it will be faster for you to fix it yourselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions