Exception: NestedText::Errors::WrongInputTypeError
- Inherits:
-
InternalError
- Object
- StandardError
- NestedText::Error
- InternalError
- NestedText::Errors::WrongInputTypeError
- Defined in:
- lib/nestedtext/errors_internal.rb
Instance Method Summary collapse
-
#initialize(class_exps, class_act) ⇒ WrongInputTypeError
constructor
A new instance of WrongInputTypeError.
Constructor Details
#initialize(class_exps, class_act) ⇒ WrongInputTypeError
Returns a new instance of WrongInputTypeError.
240 241 242 |
# File 'lib/nestedtext/errors_internal.rb', line 240 def initialize(class_exps, class_act) super("The given input type #{class_act.class.name} is unsupported. Expected to be of types #{class_exps.map(&:name).join(", ")}") end |