Merge pull request #380 from phst/doc-error-code
document that json_error_code will be added in version 2.11
This commit is contained in:
commit
fa0b5ece9e
@ -966,10 +966,14 @@ in which case no error information is returned to the caller.
|
|||||||
|
|
||||||
Array index is out of range.
|
Array index is out of range.
|
||||||
|
|
||||||
|
.. versionadded:: 2.11
|
||||||
|
|
||||||
.. function:: enum json_error_code json_error_code(const json_error_t *error)
|
.. function:: enum json_error_code json_error_code(const json_error_t *error)
|
||||||
|
|
||||||
Returns the error code embedded in ``error->text``.
|
Returns the error code embedded in ``error->text``.
|
||||||
|
|
||||||
|
.. versionadded:: 2.11
|
||||||
|
|
||||||
|
|
||||||
Encoding
|
Encoding
|
||||||
========
|
========
|
||||||
|
Loading…
Reference in New Issue
Block a user