Class: Toybox.Lang.UnexpectedTypeException

Overview

This exception indicates an incorrect type was passed for a parameter.

See Also:

Since:

API Level 1.2.0

Instance Method Summary collapse

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

Since:

API Level 1.2.0


Generated Sep 23, 2024, 3:32:49 PM