<?php

namespace XCloner\As247\CloudStorages\Exception;

if (!defined('ABSPATH') && \PHP_SAPI !== 'cli') {
    die;
}
use LogicException;
use Throwable;
class PathOutsideRootException extends LogicException
{
    public static function atLocation($path, Throwable $previous = null)
    {
        return new static('Path is outside of the defined root, path: [' . $path . ']', 0, $previous);
    }
}
