Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specific error model #9

Merged
merged 6 commits into from
Apr 4, 2024
Merged

Add specific error model #9

merged 6 commits into from
Apr 4, 2024

Conversation

satabin
Copy link
Collaborator

@satabin satabin commented Mar 22, 2024

Let's define common exception we want to expose in the API. The goal is also to avoid leaking concrete exceptions at top level so that client code can only check for QueueExceptions.

We can discuss the pre-defined exception. I added what came to my mind but maybe we want to define more.

Closes #5

@satabin satabin merged commit 47d4969 into main Apr 4, 2024
7 checks passed
@satabin satabin deleted the error-model branch April 4, 2024 08:23
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.

Define abstract common exceptions
4 participants