Exception: ThumbnailingError

Inherits:
RuntimeError
  • Object
show all
Defined in:
bin/httpimagestore

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(thumbnail_class, remote_error) ⇒ ThumbnailingError

Returns a new instance of ThumbnailingError.



79
80
81
82
# File 'bin/httpimagestore', line 79

def initialize(thumbnail_class, remote_error)
	@remote_error = remote_error
	super "Thumbnailing for class '#{thumbnail_class.name}' failed: #{remote_error.message}"
end

Instance Attribute Details

#remote_errorObject (readonly)

Returns the value of attribute remote_error.



84
85
86
# File 'bin/httpimagestore', line 84

def remote_error
  @remote_error
end