Exception: CConfig::FormatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cconfig/errors.rb

Overview

FormatError is the exception to be raised when a configuration file cannot be parsed.

Constant Summary collapse

DEFAULT_MSG =
'Wrong format for the config-local file!'

Instance Method Summary collapse

Constructor Details

#initializeFormatError

Returns a new instance of FormatError.



26
27
28
# File 'lib/cconfig/errors.rb', line 26

def initialize
  super(DEFAULT_MSG)
end