Exception: Docker::Template::Error::InvalidTargzFile

Inherits:
StandardError
  • Object
show all
Defined in:
lib/docker/template/error/invalid_targz_file.rb

Instance Method Summary collapse

Constructor Details

#initialize(tar_gz) ⇒ InvalidTargzFile

Returns a new instance of InvalidTargzFile.



9
10
11
# File 'lib/docker/template/error/invalid_targz_file.rb', line 9

def initialize(tar_gz)
  super "No data was given to the tar.gz file '#{tar_gz.basename}'"
end