Skip to content

Commit dbe98eb

Browse files
committed
⚡️ Add exception comment
1 parent 8b2fb73 commit dbe98eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/strtpl/string_template.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ namespace strtpl {
179179
at(Map& map, const Key& key) {
180180
auto i = map.find(key);
181181
using std::end;
182-
return i == end(map) ? throw std::out_of_range("strtpl::at") : get<1>(*i);
182+
return i == end(map) ? throw std::out_of_range("strtpl::at: index out of range") : get<1>(*i);
183183
}
184184

185185
template <class BiIter>

0 commit comments

Comments
 (0)