Exception: Berkshelf::UnknownCompressionType

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

Instance Method Summary collapse

Methods inherited from BerkshelfError

status_code

Constructor Details

#initialize(destination) ⇒ UnknownCompressionType

Returns a new instance of UnknownCompressionType.



310
311
312
# File 'lib/berkshelf/errors.rb', line 310

def initialize(destination)
  @destination = destination
end

Instance Method Details

#to_sObject



314
315
316
# File 'lib/berkshelf/errors.rb', line 314

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