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

distinct exception type thrown when best available objects not found #209

Merged

Conversation

bverbeken
Copy link
Member

Instead of throwing a generic SeatsioException (which is thrown in many cases, eg no focal point, event not found, etc), we now throw a BestAvailableObjectsNotFoundException (subclass of SeatsioException) to make it easier to handle this common specific case.

@bverbeken bverbeken changed the title distinct exception type for when best available seats not found distinct exception type thrown when best available objects not found Dec 20, 2024
@bverbeken bverbeken requested a review from mroloux January 3, 2025 14:04
@bverbeken bverbeken merged commit 41e22dd into master Jan 3, 2025
2 checks passed
@bverbeken bverbeken deleted the distinct-exception-type-for-best-available-not-found branch January 3, 2025 15:23
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.

3 participants