util: add a virReportEnumRangeError for bad value reporting
util: add a virReportEnumRangeError for bad value reporting

To ensure we have standardized error messages when reporting problems
with enum values being out of a range, add virReportEnumRangeError().

   virReportEnumRangeError(virDomainState, 34);

results in a message

   "internal error: Unexpected enum value 34 for virDomainState"

Signed-off-by: Daniel P. Berrangé <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

nertpinx/libvirt,crobinso/libvirt,olafhering/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,zippy2/libvirt,crobinso/libvirt,libvirt/libvirt,nertpinx/libvirt,jfehlig/libvirt,eskultety/libvirt,jardasgit/libvirt,crobinso/libvirt,andreabolognani/libvirt,nertpinx/libvirt,olafhering/libvirt,jfehlig/libvirt,zippy2/libvirt,andreabolognani/libvirt,libvirt/libvirt,eskultety/libvirt,eskultety/libvirt,libvirt/libvirt,eskultety/libvirt,crobinso/libvirt,jardasgit/libvirt,jfehlig/libvirt,jardasgit/libvirt,andreabolognani/libvirt,eskultety/libvirt,zippy2/libvirt,olafhering/libvirt,jardasgit/libvirt,libvirt/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,olafhering/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,zippy2/libvirt