1: | <?php |
2: | |
3: | |
4: | |
5: | namespace Worldline\Acquiring\Sdk\V1; |
6: | |
7: | use Worldline\Acquiring\Sdk\Domain\DataObject; |
8: | |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | class AuthorizationException extends ApiException |
15: | { |
16: | |
17: | |
18: | |
19: | |
20: | |
21: | public function __construct($httpStatusCode, DataObject $response, $message = null) |
22: | { |
23: | if (is_null($message)) { |
24: | $message = 'The Worldline Acquiring platform returned an API authorization error response'; |
25: | } |
26: | parent::__construct($httpStatusCode, $response, $message); |
27: | } |
28: | } |
29: | |