Exception: InvalidDataError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/autoload/invalid_data_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ InvalidDataError

Returns a new instance of InvalidDataError


3
4
5
# File 'lib/autoload/invalid_data_error.rb', line 3

def initialize(message = nil)
  super(message || 'The data is not in a valid format')
end