PixelConditionsData: Improve error reporting.
Throw std::runtime_error rather than a string. Otherwise, the message doesn't get printed when the exception is caught. Also include the variable name in the message.
Throw std::runtime_error rather than a string. Otherwise, the message doesn't get printed when the exception is caught. Also include the variable name in the message.