App — Message Error

The LiSA Player sends an Error message if it encounters a message that cannot be parsed successfully.

This message is sent by the LiSA Player to the host app / environment.

Properties

Along with all standard Message properties, a Message Error message includes the following additional properties:

Name
Type
Description

error

Required.

The error property specifies the issue that occurred during message parsing. Refer to MessageError for detailed information.

messageType

Required.

lsc:app:message:error


Type Definition

interface AppMessageAcknowledgeMessage extends Omit<
  Message,
  'messageType' | 'sender'
> {
  error: MessageError;
  messageType: 'lsc:app:message:error';
  sender: 'LiSA';
}

MessageError

The LiSA Player uses Zodarrow-up-right to parse incoming messages. For details on the ZodIssue type, refer to the Zod documentation.


Examples

Pass User Context message, that misses the id property.

Last updated