feat(library/module): expand 'failed to import' error message

see issue #448
This commit is contained in:
Leonardo de Moura 2015-02-27 08:00:30 -08:00
parent 2b65f02f6f
commit 7d827a14c9

View file

@ -32,7 +32,7 @@ Author: Leonardo de Moura
namespace lean {
corrupted_file_exception::corrupted_file_exception(std::string const & fname):
exception(sstream() << "failed to import '" << fname << "', file is corrupted") {
exception(sstream() << "failed to import '" << fname << "', file is corrupted, please regenerate the file from sources") {
}
typedef pair<std::string, std::function<void(serializer &)>> writer;