Exception: Sqreen::Actions::UnknownActionType
- Defined in:
- lib/sqreen/actions/unknown_action_type.rb
Overview
Exception for when an unknown action type is gotten from the server
Instance Attribute Summary collapse
-
#action_type ⇒ Object
readonly
Returns the value of attribute action_type.
Instance Method Summary collapse
-
#initialize(action_type) ⇒ UnknownActionType
constructor
A new instance of UnknownActionType.
Methods inherited from Exception
Constructor Details
#initialize(action_type) ⇒ UnknownActionType
Returns a new instance of UnknownActionType.
14 15 16 17 |
# File 'lib/sqreen/actions/unknown_action_type.rb', line 14 def initialize(action_type) super("no such action type: #{action_type}. Must be one of #{Base.known_types}") @action_type = action_type end |
Instance Attribute Details
#action_type ⇒ Object (readonly)
Returns the value of attribute action_type.
13 14 15 |
# File 'lib/sqreen/actions/unknown_action_type.rb', line 13 def action_type @action_type end |