File: conversion_error.md

package info (click to toggle)
jsoncons 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,276 kB
  • sloc: cpp: 143,266; sh: 34; makefile: 8
file content (21 lines) | stat: -rw-r--r-- 341 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
### jsoncons::conversion_error

```cpp
#include <jsoncons/conversion_result.hpp>
```

class conversion_error;
```

#### Accessors

    std::error_code code() const noexcept;
Returns an error code.

    const std::string& message_arg() const noexcept
Returns an explanatory string

    std::string message() const;
Returns an error message