if ($result === false) { throw SessionException::createFromPhpError(); } }