Exception: Pione::Global::InvalidConfigFile
- Inherits:
-
GlobalError
- Object
- StandardError
- GlobalError
- Pione::Global::InvalidConfigFile
- Defined in:
- lib/pione/global/global-exception.rb
Overview
This exception class is raised when configuration file is in invalid format.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
config file path.
Instance Method Summary collapse
-
#initialize(path) ⇒ InvalidConfigFile
constructor
A new instance of InvalidConfigFile.
- #message ⇒ Object
Constructor Details
#initialize(path) ⇒ InvalidConfigFile
Returns a new instance of InvalidConfigFile.
21 22 23 |
# File 'lib/pione/global/global-exception.rb', line 21 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
config file path
19 20 21 |
# File 'lib/pione/global/global-exception.rb', line 19 def path @path end |
Instance Method Details
#message ⇒ Object
25 26 27 |
# File 'lib/pione/global/global-exception.rb', line 25 def "invalid format configuration file: %s" % @path end |