AccessDeniedException.php
4 years ago
ConflictException.php
4 years ago
Exception.php
1 year ago
InvalidStateException.php
4 years ago
NotFoundException.php
4 years ago
RuntimeException.php
4 years ago
UnexpectedValueException.php
4 years ago
index.php
3 years ago
UnexpectedValueException.php
15 lines
| 1 | <?php declare(strict_types = 1); |
| 2 | |
| 3 | namespace MailPoet\Automation\Engine\Exceptions; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | /** |
| 9 | * USE: When wrong data VALUE is received. |
| 10 | * API: 400 Bad Request |
| 11 | */ |
| 12 | class UnexpectedValueException extends RuntimeException { |
| 13 | protected $statusCode = 400; |
| 14 | } |
| 15 |