Exception: ChaskiqRubyClient::ConfigError
- Inherits:
-
StandardError
- Object
- StandardError
- ChaskiqRubyClient::ConfigError
- Defined in:
- lib/chaskiqRubyClient/config.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(key) ⇒ ConfigError
constructor
A new instance of ConfigError.
- #message ⇒ Object
Constructor Details
#initialize(key) ⇒ ConfigError
Returns a new instance of ConfigError.
26 27 28 |
# File 'lib/chaskiqRubyClient/config.rb', line 26 def initialize(key) @key = key end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
25 26 27 |
# File 'lib/chaskiqRubyClient/config.rb', line 25 def object @object end |
Instance Method Details
#message ⇒ Object
30 31 32 |
# File 'lib/chaskiqRubyClient/config.rb', line 30 def "\033[31m #{@key} config key not found, add it in Chaskiq::Config.setup initializer \033[0m" end |