don't create d->{error}{cpants} if there's no error