Moved query.Error to separate error.go file.