Class: Docker::Template::Error::InvalidYAMLFile

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

Overview


Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ InvalidYAMLFile

Returns a new instance of InvalidYAMLFile.



70
71
72
# File 'lib/docker/template/error.rb', line 70

def initialize(file)
  super "The yaml data provided by #{file} is invalid and not a hash."
end