Skip to content

Commit 8af0cde

Browse files
committed
Fix error message.
1 parent e7b9a31 commit 8af0cde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/project.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ OptionsMap loadOptionsMap(const yaml &root)
14301430
{
14311431
auto ol = opt_level.first.template as<String>();
14321432
if (!(ol == "any" || ol == "static" || ol == "shared"))
1433-
throw std::runtime_error("Wrong option level dicrective");
1433+
throw std::runtime_error("Wrong option level directive. Must be one of any, static or shared");
14341434
if (!opt_level.second.IsMap())
14351435
throw std::runtime_error("'" + ol + "' should be a map");
14361436

0 commit comments

Comments
 (0)