Exception: SlackBot::Errors::HandlerClassNotFound
- Inherits:
-
SlackBot::Error
- Object
- StandardError
- SlackBot::Error
- SlackBot::Errors::HandlerClassNotFound
- Defined in:
- lib/slack_bot/errors.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
-
#handler_classes ⇒ Object
readonly
Returns the value of attribute handler_classes.
Instance Method Summary collapse
-
#initialize(class_name, handler_classes:) ⇒ HandlerClassNotFound
constructor
A new instance of HandlerClassNotFound.
Constructor Details
#initialize(class_name, handler_classes:) ⇒ HandlerClassNotFound
Returns a new instance of HandlerClassNotFound.
26 27 28 29 30 31 |
# File 'lib/slack_bot/errors.rb', line 26 def initialize(class_name, handler_classes:) @class_name = class_name @handler_classes = handler_classes super("Handler class not found for #{class_name}") end |
Instance Attribute Details
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
25 26 27 |
# File 'lib/slack_bot/errors.rb', line 25 def class_name @class_name end |
#handler_classes ⇒ Object (readonly)
Returns the value of attribute handler_classes.
25 26 27 |
# File 'lib/slack_bot/errors.rb', line 25 def handler_classes @handler_classes end |