Exception: Kward::ConfigFiles::ConfigError
- Inherits:
-
StandardError
- Object
- StandardError
- Kward::ConfigFiles::ConfigError
- Defined in:
- lib/kward/config_files.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:, format:, detail:) ⇒ ConfigError
constructor
A new instance of ConfigError.
Constructor Details
#initialize(path:, format:, detail:) ⇒ ConfigError
Returns a new instance of ConfigError.
28 29 30 31 32 33 |
# File 'lib/kward/config_files.rb', line 28 def initialize(path:, format:, detail:) @path = path @format = format @detail = detail super("Invalid Kward config #{format}: #{path}: #{detail}") end |
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
26 27 28 |
# File 'lib/kward/config_files.rb', line 26 def detail @detail end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
26 27 28 |
# File 'lib/kward/config_files.rb', line 26 def format @format end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
26 27 28 |
# File 'lib/kward/config_files.rb', line 26 def path @path end |