Exception: SmartChart::DimensionsError

Inherits:
ValidationError show all
Defined in:
lib/smart_chart/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ DimensionsError

Returns a new instance of DimensionsError.



36
37
38
# File 'lib/smart_chart/exceptions.rb', line 36

def initialize(message = nil)
  super(message || "Chart dimensions must result in at most 300,000 pixels")
end