pass error as callback parameter from base command for both query and execute #23