Exception: SmartChart::UrlLengthError
- Inherits:
-
ValidationError
- Object
- StandardError
- SmartChartError
- ValidationError
- SmartChart::UrlLengthError
- Defined in:
- lib/smart_chart/exceptions.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ UrlLengthError
constructor
A new instance of UrlLengthError.
Constructor Details
#initialize(message = nil) ⇒ UrlLengthError
Returns a new instance of UrlLengthError.
42 43 44 |
# File 'lib/smart_chart/exceptions.rb', line 42 def initialize( = nil) super( || "URL too long (must not exceed #{SmartChart::URL_MAX_LENGTH} characters)") end |