Exception: Berkshelf::UnknownCompressionType

Inherits:
BerkshelfError
  • Object
show all
Defined in:
lib/berkshelf/errors.rb

Instance Method Summary collapse

Methods inherited from BerkshelfError

set_status_code

Constructor Details

#initialize(destination) ⇒ UnknownCompressionType

Returns a new instance of UnknownCompressionType.


295
296
297
# File 'lib/berkshelf/errors.rb', line 295

def initialize(destination)
  @destination = destination
end

Instance Method Details

#to_sObject


299
300
301
# File 'lib/berkshelf/errors.rb', line 299

def to_s
  "The file at '#{@destination}' is not a known compression type"
end