File: jsonpatch_errc.md

package info (click to toggle)
jsoncons 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,300 kB
  • sloc: cpp: 143,266; sh: 34; makefile: 8
file content (25 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
### jsoncons::jsonpatch::jsonpatch_errc

```cpp
#include <jsoncons_ext/jsonpatch/jsonpatch_error.hpp>
```

<br>

The constant integer values scoped by `jsonpatch_errc` define the values for jsonpatch error codes.

### Member constants

constant             |Description
---------------------|------------------------------
`invalid_patch`      |Invalid JSON Patch document
`test_failed`        |JSON Patch test operation failed
`add_failed`         |JSON Patch add operation failed
`remove_failed`      |JSON Patch remove operation failed
`replace_failed`     |JSON Patch replace operation failed
`move_failed`        |JSON Patch move operation failed
`copy_failed`        |JSON Patch copy operation failed