Exception: Secretary::Error::InvalidData
- Inherits:
-
IOError
- Object
- IOError
- Secretary::Error::InvalidData
- Defined in:
- lib/secretary/error.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ InvalidData
constructor
A new instance of InvalidData.
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 |