Skip to content

Function: isErrorMessage()

isErrorMessage(msg): msg is ErrorMessage

Defined in: aiui-intent-runtime/src/protocol.ts:129

Narrow a ServerMessage to an ErrorMessage (kind + a real message).

Parameters

msg

ServerMessage

Returns

msg is ErrorMessage