Exception: SmartChart::UrlLengthError

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

Overview

:nodoc:

Instance Method Summary collapse

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(message = nil)
  super(message || "URL too long (must not exceed #{SmartChart::URL_MAX_LENGTH} characters)")
end