Class: Toybox.Lang.UnexpectedTypeException
- Inherits:
-
Toybox.Lang.Exception
Overview
This exception indicates an incorrect type was passed for a parameter.
See Also:
Instance Method Summary collapse
-
initialize(msg as Lang.String, unused1 as Lang.Object or Null, unused2 as Lang.Object or Null)
UnexpectedTypeException constructor.
Instance Method Details
initialize(msg as Lang.String, unused1 as Lang.Object or Null, unused2 as Lang.Object or Null)
UnexpectedTypeException constructor.
@param msg [Toybox::Lang::String] The exception message @param unused1 [Toybox::Lang::Object] Unused. Preserves argument count for compatibility @param unused2 [Toybox::Lang::Object] Unused. Preserves argument count for compatibility