Exception: Derelict::Box::NotFound

Inherits:
Exception
  • Object
show all
Defined in:
lib/derelict/box/not_found.rb

Overview

A box that isn’t currently installed has been retrieved

Instance Method Summary collapse

Constructor Details

#initialize(box_name, provider) ⇒ NotFound

Initializes a new instance, for a particular box name/provider

* box_name: The name of the box that this exception relates
            to
* provider: The provider of the box that this exception
            relates to


11
12
13
# File 'lib/derelict/box/not_found.rb', line 11

def initialize(box_name, provider)
  super "Box '#{box_name}' for provider '#{provider}' missing"
end