json_pointer.hpp: Mention more exception in documentation
Forgotten in dcd3a6c6
(move the catch of std::invalid_argument into
array_index(), 2020-03-23).
This commit is contained in:
parent
74c6e4295f
commit
f0e73163f2
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue