Added error_info to message.
Replaced ThrowError with BOOST_THROW_EXCEPTION.