Skip to content

Commit 4b17731

Browse files
committed
update docs; refs #3992
[SVN r67028]
1 parent 56d2c97 commit 4b17731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/howto.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ void validate(boost::any& v,
295295
if (regex_match(s, match, r)) {
296296
v = any(magic_number(lexical_cast<int>(match[1])));
297297
} else {
298-
throw validation_error("invalid value");
298+
throw validation_error(valodation_error::invalid_option_value);
299299
}
300300
}
301301
]]>

0 commit comments

Comments
 (0)