[src] Explicitly returning error in Query