Commit f0e73163 authored by Thomas Braun's avatar Thomas Braun

json_pointer.hpp: Mention more exception in documentation

Forgotten in dcd3a6c6 (move the catch of std::invalid_argument into
array_index(), 2020-03-23).
parent 74c6e429
......@@ -325,6 +325,8 @@ class json_pointer
@return integer representation of @a s
@throw parse_error.106 if an array index begins with '0'
@throw parse_error.109 if an array index begins not with a digit
@throw out_of_range.404 if string @a s could not be converted to an integer
*/
static int array_index(const std::string& s)
......
......@@ -11357,6 +11357,8 @@ class json_pointer
@return integer representation of @a s
@throw parse_error.106 if an array index begins with '0'
@throw parse_error.109 if an array index begins not with a digit
@throw out_of_range.404 if string @a s could not be converted to an integer
*/
static int array_index(const std::string& s)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment