Exception: ArTTY::Error::ImageNotFound

Inherits:
ArTTY::Error
  • Object
show all
Defined in:
lib/arTTY/error/image_not_found.rb

Instance Method Summary collapse

Constructor Details

#initialize(image = nil) ⇒ ImageNotFound

Returns a new instance of ImageNotFound.



2
3
4
5
# File 'lib/arTTY/error/image_not_found.rb', line 2

def initialize(image = nil)
    super("Image not found: #{image}") if (image && !image.empty?)
    super("Image not found") if (image.nil?)
end