This is a Python binding to the C++ class Mantid::API::HistogramValidator.
bases: mantid.api.MatrixWorkspaceValidator
If mustBeHistogram=True then the workspace must be a histogram otherwise it must be point data.
Returns an empty string if the value is considered valid, otherwise a string defining the error is returned.