| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class OpenViduTokenCantCreateException extends OpenViduException |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * OpenViduTokenCantCreateException constructor. |
||
| 16 | * The 424 (Failed Dependency) status code means that the method could not be performed on the resource because the requested action depended on another action and that action failed. |
||
| 17 | * In this case, in obtaining the session. |
||
| 18 | * https://tools.ietf.org/html/rfc4918#section-11.4 |
||
| 19 | * @param string $message |
||
| 20 | * @param Throwable|null $previous |
||
| 21 | * |
||
| 22 | */ |
||
| 23 | public function __construct($message = "", Throwable $previous = null) |
||
| 24 | { |
||
| 25 | parent::__construct($message, 424, $previous); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function __toString() |
||
| 31 | } |
||
| 32 | } |
||
| 33 |