phprs\util\Verify::e PHP Method

e() public static method

public static e ( Exception | string $e )
$e Exception | string
    public static function e($e)
    {
        if ($e === null || is_string($e)) {
            Logger::warning($e);
            throw new \Exception($e);
        } else {
            Logger::warning($e->__toString());
            throw $e;
        }
    }