Exception: MissingDataFile

Inherits:
Exception
  • Object
show all
Defined in:
lib/smilodon/errors.rb

Overview

The exception class used when the data file is missing.

Instance Method Summary collapse

Instance Method Details

#messageString

Set the message to return when a data file is missing.

Returns:

  • (String)

    The message to return if the data file is missing.



18
19
20
# File 'lib/smilodon/errors.rb', line 18

def message
  'The data file configured is missing.'
end