Exception: Omnibus::InsufficientSpecification

Inherits:
Error
  • Object
show all
Defined in:
lib/omnibus/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(key, package) ⇒ InsufficientSpecification

Returns a new instance of InsufficientSpecification


145
146
147
# File 'lib/omnibus/exceptions.rb', line 145

def initialize(key, package)
  @key, @package = key, package
end

Instance Method Details

#to_sObject


149
150
151
152
153
# File 'lib/omnibus/exceptions.rb', line 149

def to_s
  <<-EOH
Software must specify a `#{@key}; to cache it in S3 (#{@package})!
EOH
end