pass error as callback parameter from base command fro both query and execute #25