Submit
Path:
~
/
home
/
getwphos
/
public_html
/
srlgroup
/
wp-content
/
plugins
/
case-addons
/
src
/
scss
/
src
/
Exception
/
File Content:
SassScriptException.php
<?php namespace ScssPhp\ScssPhp\Exception; /** * An exception thrown by SassScript. * * This class does not implement SassException on purpose, as it should * never be returned to the outside code. The compilation will catch it * and replace it with a SassException reporting the location of the * error. */ class SassScriptException extends \Exception { /** * Creates a SassScriptException with support for an argument name. * * This helper ensures a consistent handling of argument names in the * error message, without duplicating it. * * @param string $message * @param string|null $name The argument name, without $ * * @return SassScriptException */ public static function forArgument($message, $name = null) { $varDisplay = !\is_null($name) ? "\${$name}: " : ''; return new self($varDisplay . $message); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
CompilerException.php
380 bytes
0644
ParserException.php
1049 bytes
0644
RangeException.php
367 bytes
0644
SassException.php
73 bytes
0644
SassScriptException.php
915 bytes
0644
ServerException.php
533 bytes
0644
N4ST4R_ID | Naxtarrr