Type guard for IntentMismatchError.
Matches on name rather than instanceof so it stays correct when the error crosses a package boundary (two copies of adk-js in one runtime would fail an instanceof check between them).
name
instanceof
Type guard for IntentMismatchError.
Matches on
namerather thaninstanceofso it stays correct when the error crosses a package boundary (two copies of adk-js in one runtime would fail aninstanceofcheck between them).