| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class ArghException extends \Exception |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Contruct a new ArghException with a required message |
||
| 23 | * |
||
| 24 | * @since 1.0.0 |
||
| 25 | * |
||
| 26 | * @param string $message Custom message describing this Exception |
||
| 27 | * @param int $code Custom error code |
||
| 28 | * @param Exception $previous The previous Exception to occurr |
||
|
|
|||
| 29 | * |
||
| 30 | */ |
||
| 31 | public function __construct($message, $code = 0, \Exception $previous = null) { |
||
| 36 | } |
||
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * Returns a descriptive string indentifying this Exception |
||
| 41 | * |
||
| 42 | * @since 1.0.0 |
||
| 43 | * |
||
| 44 | * @return string |
||
| 45 | * |
||
| 46 | */ |
||
| 47 | public function __toString() { |
||
| 51 | } |