Passed
Push — master ( aab8f3...c0357c )
by Derek Stephen
03:21
created

UserException

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 10
c 1
b 0
f 0
dl 0
loc 11
ccs 0
cts 0
cp 0
wmc 0
1
<?php
2
3
namespace Del\Exception;
4
5
use Exception;
6
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
}