You are here

class SassException in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/SassException.php \SassException

Sass exception class. @package PHamlP @subpackage Sass

Hierarchy

Expanded class hierarchy of SassException

File

phpsass/SassException.php, line 17

View source
class SassException extends Exception {

  /**
   * Sass Exception.
   * @param string Exception message
   * @param array parameters to be applied to the message using <code>strtr</code>.
   * @param object object with source code and meta data
   */
  public function __construct($message, $object) {
    parent::__construct($message . (is_object($object) ? ": {$object->filename}::{$object->line}\nSource: {$object->source}" : ''));
  }

}

Members