File: validation_error.md

package info (click to toggle)
jsoncons 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,584 kB
  • sloc: cpp: 136,382; sh: 33; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
### jsoncons::jsonschema::validation_error

```cpp
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
```

<br>

`jsoncons::jsonschema::validation_error` defines an exception type for reporting violations of a JSON Schema.

![validation_error](./diagrams/validation_error.png)

#### Constructors

    validation_error(const std::string& message);

#### Member functions

    const char* what() const noexcept
Returns an error message