pushError method
Pushes a raw hub error frame to an agent's live connection
(error-surfacing tests).
Implementation
void pushError(String agentId, String code, String msg) {
final ws = _conns[agentId];
if (ws != null) _reply(ws, {'op': 'error', 'code': code, 'msg': msg});
}