Not important, but it might be nice to include the query in the error message (since the user will probably have to check it anyway)