Exception: ThumbnailSpec::InvalidArgumentValueError
- Inherits:
-
InvalidFormatError
- Object
- ArgumentError
- InvalidFormatError
- ThumbnailSpec::InvalidArgumentValueError
- Defined in:
- lib/httpthumbnailer/thumbnail_specs.rb
Instance Method Summary collapse
-
#initialize(name, value, reason) ⇒ InvalidArgumentValueError
constructor
A new instance of InvalidArgumentValueError.
Methods inherited from InvalidFormatError
Constructor Details
#initialize(name, value, reason) ⇒ InvalidArgumentValueError
Returns a new instance of InvalidArgumentValueError.
43 44 45 |
# File 'lib/httpthumbnailer/thumbnail_specs.rb', line 43 def initialize(name, value, reason) super "#{name} value '#{value}' is not #{reason}" end |