Skip to content
Snippets Groups Projects
Commit 7020ba1a authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix error message

parent 42427a56
No related branches found
No related tags found
1 merge request!146Refactor slightly BuiltinFunctionEmbedder and check types
This commit is part of merge request !146. Comments created here will be created in the context of that merge request.
......@@ -32,7 +32,7 @@ class BuiltinModule : public IModule
}
catch (std::invalid_argument& e) {
std::ostringstream os;
os << "while defining user function '" << rang::fgB::yellow << name << rang::fg::reset << "'\n";
os << "while defining builtin function '" << rang::fgB::yellow << name << rang::fg::reset << "'\n";
os << e.what();
throw UnexpectedError(os.str());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment