Skip to content

Use Temporal failures in Nexus APIs#682

Open
pdoerner wants to merge 12 commits intomasterfrom
nexus-error-messages
Open

Use Temporal failures in Nexus APIs#682
pdoerner wants to merge 12 commits intomasterfrom
nexus-error-messages

Conversation

@pdoerner
Copy link
Contributor

@pdoerner pdoerner commented Dec 5, 2025

What changed?
Added Temporal failure representations for Nexus errors.

Why?
Consistency with other Temporal APIs and to make it easier to handle payloads.

Breaking changes
Not explicitly, but server and SDK will need to be able to handle both error formats based on capabilities field.

Server PR
WIP

Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming that this won't be merged until it's proven to work.

Comment on lines 130 to 131
// The operation completed unsuccessfully (failed or canceled).
UnsuccessfulOperationError operation_error = 3;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mark this as deprecated?

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.

3 participants