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

Throw a SessionKeyNotFoundException instead of a OutOfRangeException #3

Closed
khalyomede opened this issue Sep 18, 2020 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@khalyomede
Copy link
Contributor

Description

When checking if a key exists, we should throw a SessionKeyNotFoundException instead of an OutOfRangeException.

Expected behavior

The package throw a SessionKeyNotFoundException if a accessing a non existing key.

Actual behavior

The package throw an OutOfRangeException when accessing a non existing session key.

Alternatives solutions

None.

Notes

@khalyomede khalyomede added the enhancement New feature or request label Sep 18, 2020
@khalyomede khalyomede self-assigned this Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant