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.
31 32 33 34 35 36 |
# File 'lib/kward/config_files.rb', line 31 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.
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def detail @detail end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def format @format end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
29 30 31 |
# File 'lib/kward/config_files.rb', line 29 def path @path end |