IBaseActionErrorArguments interface

Base object passed to IAdaptiveCardExtensionActionView.onActionError when an Adaptive Card OnActionError is executed.

Properties

error

The error thrown by the action

id

The id specified in the Adaptive Card template

type

The type of Adaptive Card Action thsat caused the error.

Property Details

error

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The error thrown by the action

error: IActionError;

Property Value

id

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The id specified in the Adaptive Card template

id?: string;

Property Value

string

type

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The type of Adaptive Card Action thsat caused the error.

type: 'Submit' | 'ShowCard' | 'Execute' | 'VivaAction.SelectMedia' | 'VivaAction.GetLocation' | 'VivaAction.ShowLocation';

Property Value

'Submit' | 'ShowCard' | 'Execute' | 'VivaAction.SelectMedia' | 'VivaAction.GetLocation' | 'VivaAction.ShowLocation'