Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Make similar exceptions use the same params #98

Open
richcooper95 opened this issue Feb 2, 2022 · 0 comments
Open

Make similar exceptions use the same params #98

richcooper95 opened this issue Feb 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@richcooper95
Copy link

Describe the bug
Here passes through the empty list of passengers, but here passes through the number (0) - but both are InvalidNumberOfX errors.

To Reproduce
n/a

Expected behavior
It’d be good to get some consistency around what’s returned in similar Exception types.

System (please complete the following information):
n/a

Additional context
n/a

@richcooper95 richcooper95 added the enhancement New feature or request label Feb 2, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant