Exception: Rapid::UnknownSettingError
- Inherits:
-
SettingLoadError
- Object
- Exception
- Exception
- SettingLoadError
- Rapid::UnknownSettingError
- Defined in:
- lib/rapid/error.rb
Instance Attribute Summary collapse
-
#setting_name ⇒ Object
readonly
Returns the value of attribute setting_name.
Instance Method Summary collapse
-
#initialize(full_setting_name) ⇒ UnknownSettingError
constructor
A new instance of UnknownSettingError.
- #validation_message ⇒ Object
Constructor Details
#initialize(full_setting_name) ⇒ UnknownSettingError
Returns a new instance of UnknownSettingError.
12 13 14 15 |
# File 'lib/rapid/error.rb', line 12 def initialize full_setting_name @setting_name = full_setting_name super "Can't find #{full_setting_name.inspect} setting" end |
Instance Attribute Details
#setting_name ⇒ Object (readonly)
Returns the value of attribute setting_name.
10 11 12 |
# File 'lib/rapid/error.rb', line 10 def setting_name @setting_name end |
Instance Method Details
#validation_message ⇒ Object
17 18 19 |
# File 'lib/rapid/error.rb', line 17 def "can't be found" end |