| Total Complexity | 0 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class UserException extends Exception |
||
| 8 | { |
||
| 9 | const UNAUTHORISED = 'You are not allowed to perform this action.'; |
||
| 10 | const USER_ACTIVATED = 'This user is already activated.'; |
||
| 11 | const USER_EXISTS = 'A user already exists.'; |
||
| 12 | const USER_NOT_FOUND = 'No user account was found.'; |
||
| 13 | const USER_UNACTIVATED = 'This account has not been activated.'; |
||
| 14 | const USER_DISABLED = 'This user account has been closed.'; |
||
| 15 | const USER_BANNED = 'This user account is currently suspended.'; |
||
| 16 | const WRONG_PASSWORD = 'The password didn\'t match.'; |
||
| 17 | const PERSON_EXISTS = 'An existing person on the system has been detected'; |
||
| 18 | } |