| 1 | <?php |
||
| 10 | class CheckException extends \Exception |
||
| 11 | { |
||
| 12 | const EXCEPTION_NAME = 'healthCheck'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * HttpCheckException constructor. |
||
| 16 | * |
||
| 17 | * @param string $message |
||
| 18 | * @param null|int $code |
||
| 19 | * @param null|\Exception $previous |
||
| 20 | */ |
||
| 21 | 4 | public function __construct($message = '', $code = null, \Exception $previous = null) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param int $depth |
||
| 31 | * |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | 1 | public function getNestedDebug($depth = -1) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param Exception $exception |
||
| 41 | * |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | protected static function getDebug(Exception $exception, $depth = -1) |
|
| 66 | } |
||
| 67 |