Total Complexity | 1 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class AmountMismatchException extends AbstractException |
||
11 | { |
||
12 | /** |
||
13 | * ERROR_MESSAGE |
||
14 | */ |
||
15 | const ERROR_MESSAGE = 'Amount mismatch error, expected %s and received %s'; |
||
16 | |||
17 | /** |
||
18 | * ERROR_CODE |
||
19 | */ |
||
20 | const ERROR_CODE = 409; |
||
21 | |||
22 | /** |
||
23 | * AmountMismatchException constructor. |
||
24 | * |
||
25 | * @param $expectedAmount |
||
26 | * @param $currentAmount |
||
27 | */ |
||
28 | public function __construct($expectedAmount, $currentAmount) |
||
36 |