Exception: Less2Sass::LessASTParserError

Inherits:
Less2SassError show all
Defined in:
lib/less2sass/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ LessASTParserError

Returns a new instance of LessASTParserError.



49
50
51
# File 'lib/less2sass/error.rb', line 49

def initialize(klass)
  @klass = klass
end

Instance Method Details

#messageObject



53
54
55
# File 'lib/less2sass/error.rb', line 53

def message
  "Unexpected class type #{@klass} during Less' AST JSON parsing."
end