Skip to content

errors: add new AMPQ error codes#304

Merged
kaschula merged 1 commit intomainfrom
feature/pub-1735-ampq-timeout-errors
May 23, 2025
Merged

errors: add new AMPQ error codes#304
kaschula merged 1 commit intomainfrom
feature/pub-1735-ampq-timeout-errors

Conversation

@kaschula
Copy link
Copy Markdown
Contributor

Add 2 new 500 status error codes for when the AMQP message delivery fails.

@kaschula kaschula requested a review from amnonbc May 23, 2025 12:50
Copy link
Copy Markdown
Contributor

@amnonbc amnonbc left a comment

Choose a reason for hiding this comment

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

minor comment
otherwise LGTM

Comment thread protocol/errors.json
"70004": "reactor operation failed (invalid or unaccepted message contents)",

"70005": "unable to deliver AMQP message (unspecified timeout)",
"70006": "unable to deliver AMQP message (cluster busy)",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe keep the empty line before 71000 ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes we should I will add it back. Thanks

@kaschula kaschula force-pushed the feature/pub-1735-ampq-timeout-errors branch from 7fea961 to c407f34 Compare May 23, 2025 13:01
@kaschula kaschula merged commit 7cb9850 into main May 23, 2025
2 checks passed
@kaschula kaschula deleted the feature/pub-1735-ampq-timeout-errors branch May 23, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants