new error factory
query feature