This should extend `QueryExecutionException` then everywhere that throws `NotFoundException, NotAuthorizedException` can just throw `QueryExecutionException`