Exception: CSSminify2Enhanced::MalformedCSSError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cssminify2/enhanced.rb

Overview

Error class for malformed CSS

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, css_errors = []) ⇒ MalformedCSSError

Returns a new instance of MalformedCSSError.



813
814
815
816
# File 'lib/cssminify2/enhanced.rb', line 813

def initialize(message, css_errors = [])
  super(message)
  @css_errors = css_errors
end

Instance Attribute Details

#css_errorsObject (readonly)

Returns the value of attribute css_errors.



811
812
813
# File 'lib/cssminify2/enhanced.rb', line 811

def css_errors
  @css_errors
end