%PDF- %PDF-
| Direktori : /home/qgbqkvz/www/wp-content/plugins/wp-scss/scssphp/src/Parser/ |
| Current File : /home/qgbqkvz/www/wp-content/plugins/wp-scss/scssphp/src/Parser/FormatException.php |
<?php
/**
* SCSSPHP
*
* @copyright 2012-2020 Leaf Corcoran
*
* @license http://opensource.org/licenses/MIT MIT
*
* @link http://scssphp.github.io/scssphp
*/
namespace ScssPhp\ScssPhp\Parser;
use ScssPhp\ScssPhp\SourceSpan\FileSpan;
/**
* @internal
*/
final class FormatException extends \Exception
{
/**
* @var FileSpan
* @readonly
*/
private $span;
public function __construct(string $message, FileSpan $span, ?\Throwable $previous = null)
{
$this->span = $span;
parent::__construct($message, 0, $previous);
}
public function getSpan(): FileSpan
{
return $this->span;
}
}