You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is throwing a \RuntimeException. It would allow more precise catching of exceptions if it threw an exception that had a specific meaning.
namespace PHPSecureSession;
class AuthenticationFailedException extends \RuntimeException {
}
as that would allow people to know they are only catching that type of exception, rather than RuntimeExceptions that could be coming from elsewhere in their code.
The text was updated successfully, but these errors were encountered:
Hi,
Currently the code here:
PHP-Secure-Session/src/SecureHandler.php
Line 125 in 6ddb28c
Is throwing a \RuntimeException. It would allow more precise catching of exceptions if it threw an exception that had a specific meaning.
as that would allow people to know they are only catching that type of exception, rather than RuntimeExceptions that could be coming from elsewhere in their code.
The text was updated successfully, but these errors were encountered: