We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a user tries to get a session by its key, and this key is not set, I should raise an meaningful error.
To be able to set the key in the error as following:
use Folded\Exceptions\SessionKeyNotFoundException; $exception = SessionKeyNotFoundException("key foo not found"); $exception->setKey("foo"); echo $exception->getKey(); // "foo"
No exception to raise in this case.
Raising an OutOfRangeException for now.
OutOfRangeException
The text was updated successfully, but these errors were encountered:
dec6994
khalyomede
No branches or pull requests
Description
When a user tries to get a session by its key, and this key is not set, I should raise an meaningful error.
Expected behavior
To be able to set the key in the error as following:
Actual behavior
No exception to raise in this case.
Alternatives solutions
Raising an
OutOfRangeException
for now.Notes
The text was updated successfully, but these errors were encountered: