12345678910111213141516 |
- <?php
- namespace app\Exceptions;
- use app\Logger;
- use \Exception;
- use \Throwable;
- class SessionNotFoundException extends Exception
- {
- public function __construct(int $id, int $code = 0, ?Throwable $previous = null)
- {
- Logger::Error("Couldn't find session token ($id)");
- parent::__construct("Couldn't find session token ($id)", $code, $previous);
- }
- }
|