Fixes message and adds test for unknown top-level operator.
Adds user query error reporting in wire responses.