mirror of
https://github.com/akheron/jansson.git
synced 2025-04-07 06:25:02 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -966,10 +966,14 @@ in which case no error information is returned to the caller.
|
|||
|
||||
Array index is out of range.
|
||||
|
||||
.. versionadded:: 2.11
|
||||
|
||||
.. function:: enum json_error_code json_error_code(const json_error_t *error)
|
||||
|
||||
Returns the error code embedded in ``error->text``.
|
||||
|
||||
.. versionadded:: 2.11
|
||||
|
||||
|
||||
Encoding
|
||||
========
|
||||
|
|
Loading…
Add table
Reference in a new issue