Exception: Kotoshu::ConfigurationError
- Defined in:
- lib/kotoshu/core/exceptions.rb
Overview
Error raised when there is a configuration issue.
Instance Attribute Summary collapse
-
#key ⇒ String, ...
readonly
The configuration key.
Instance Method Summary collapse
-
#initialize(message, key: nil) ⇒ ConfigurationError
constructor
Create a new configuration error.
Constructor Details
#initialize(message, key: nil) ⇒ ConfigurationError
Create a new configuration error.
59 60 61 62 |
# File 'lib/kotoshu/core/exceptions.rb', line 59 def initialize(, key: nil) @key = key super() end |
Instance Attribute Details
#key ⇒ String, ... (readonly)
Returns The configuration key.
65 66 67 |
# File 'lib/kotoshu/core/exceptions.rb', line 65 def key @key end |