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.



55
56
57
# File 'lib/docker/template/error.rb', line 55

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