class ExtensionWebSocketClient {

    public void sendQueryError(String replyAddress, String messageCode, String messageTemplate, Object[] parameters) {
        // Create the body
        Map<String, Object> err = new HashMap<>();
        err.put("messageCode", messageCode);
        err.put("messageTemplate", messageTemplate);
        err.put("parameters", parameters);

        sendQueryResponse(400, replyAddress, err);
    }

    public  ExtensionWebSocketClient(String sourceName);

}