Exception: Rapid::UnknownSettingError

Inherits:
SettingLoadError show all
Defined in:
lib/rapid/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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_messageObject



17
18
19
# File 'lib/rapid/error.rb', line 17

def validation_message
  "can't be found"
end