Also export QueryError constructors