Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnusableInputValueAct<T>

Communicates that an input cannot be consumed.

Typically, 'invalid input' means that the input cannot be consumed given the current state of the skill and the input will be ignored.

Default rendering (en-US): "Sorry, (renderedReason)."

Usage:

  • Controls should override the render and provide more detail about the specific problem by rendering the reasonCode.

Example:

  • A list control offers three options but the user says "The fourth one".

Type parameters

  • T

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

constructor

Properties

control

control: Control

Readonly payload

takesInitiative

takesInitiative: boolean

Methods

render

toString

  • toString(): string
  • Produces a string representation of the SystemAct.

    The associated Control.id is included but the complete details of the associate Control are omitted for brevity.

    Returns string