public function SassException::__construct in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/SassException.php \SassException::__construct()
Sass Exception.
Parameters
string Exception message:
array parameters to be applied to the message using <code>strtr</code>.:
object object with source code and meta data:
File
- phpsass/
SassException.php, line 24
Class
- SassException
- Sass exception class. @package PHamlP @subpackage Sass
Code
public function __construct($message, $object) {
parent::__construct($message . (is_object($object) ? ": {$object->filename}::{$object->line}\nSource: {$object->source}" : ''));
}