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 Jun 6, 2024 10:31:53 AM