Exception: Sass::ScriptError
- Inherits:
-
StandardError
- Object
- StandardError
- Sass::ScriptError
- Defined in:
- lib/sass/exception.rb
Overview
An exception thrown by Sass Script.
Instance Method Summary collapse
-
#initialize(message, name = nil) ⇒ ScriptError
constructor
A new instance of ScriptError.
Constructor Details
#initialize(message, name = nil) ⇒ ScriptError
Returns a new instance of ScriptError.
65 66 67 |
# File 'lib/sass/exception.rb', line 65 def initialize(, name = nil) super(name.nil? ? : "$#{name}: #{}") end |