Exception: Inferno::Exceptions::BadSessionDataType
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Inferno::Exceptions::BadSessionDataType
- Defined in:
- lib/inferno/exceptions.rb
Instance Method Summary collapse
-
#initialize(name, expected_class_names, actual_class) ⇒ BadSessionDataType
constructor
A new instance of BadSessionDataType.
Constructor Details
#initialize(name, expected_class_names, actual_class) ⇒ BadSessionDataType
Returns a new instance of BadSessionDataType.
112 113 114 |
# File 'lib/inferno/exceptions.rb', line 112 def initialize(name, expected_class_names, actual_class) super("Expected '#{name}' to be a #{expected_class_names}, but found a #{actual_class.name}.") end |