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.



308
309
310
# File 'lib/berkshelf/errors.rb', line 308

def initialize(destination)
  @destination = destination
end

Instance Method Details

#to_sObject



312
313
314
# File 'lib/berkshelf/errors.rb', line 312

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