src/Exception/ForbiddenApiException.php 1 location
|
@@ 6-12 (lines=7) @@
|
| 3 |
|
|
| 4 |
|
namespace Paysera\Bundle\ApiBundle\Exception; |
| 5 |
|
|
| 6 |
|
class ForbiddenApiException extends ApiException |
| 7 |
|
{ |
| 8 |
|
public function __construct($message = null, $statusCode = null, $previous = null) |
| 9 |
|
{ |
| 10 |
|
parent::__construct(self::FORBIDDEN, $message, $statusCode, $previous); |
| 11 |
|
} |
| 12 |
|
} |
| 13 |
|
|
src/Exception/NotFoundApiException.php 1 location
|
@@ 6-12 (lines=7) @@
|
| 3 |
|
|
| 4 |
|
namespace Paysera\Bundle\ApiBundle\Exception; |
| 5 |
|
|
| 6 |
|
class NotFoundApiException extends ApiException |
| 7 |
|
{ |
| 8 |
|
public function __construct($message = null, $statusCode = null, $previous = null) |
| 9 |
|
{ |
| 10 |
|
parent::__construct(self::NOT_FOUND, $message, $statusCode, $previous); |
| 11 |
|
} |
| 12 |
|
} |
| 13 |
|
|