class Renogen::Exceptions::YamlFileInvalid

This is raised when a yaml file change is found but has invalid contents

Attributes

file_path[R]

Public Class Methods

new(file_path) click to toggle source
Calls superclass method
# File lib/renogen/exceptions/yaml_file_invalid.rb, line 7
def initialize(file_path)
  @file_path = file_path
  super
end

Public Instance Methods

message() click to toggle source

Friendly error message

@return [String]

# File lib/renogen/exceptions/yaml_file_invalid.rb, line 15
def message
  "Error: File contents invalid '#{file_path}'"
end