Exception: Secretary::Error::InvalidData

Inherits:
IOError
  • Object
show all
Defined in:
lib/secretary/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ InvalidData

Returns a new instance of InvalidData.



25
26
27
# File 'lib/secretary/error.rb', line 25

def initialize(data)
  super "preference file contains invalid data (#{data.inspect})"
end