Clean up some exceptions, phpdoc
This commit is contained in:
15
Lib/Exception/AuthenticationException.php
Normal file
15
Lib/Exception/AuthenticationException.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace BSR\Lib\Exception;
|
||||
|
||||
/**
|
||||
* This exception should be raised when an error
|
||||
* related to the authentication mechanism arise.
|
||||
*
|
||||
* @package BSR\Lib\Exception
|
||||
*/
|
||||
class AuthenticationException extends WebException {
|
||||
const USER_NOT_FOUND = 200;
|
||||
const BAD_LOGIN = 201;
|
||||
const AUTHENTICATION_FAILED = 202;
|
||||
}
|
||||
Reference in New Issue
Block a user