![]() |
Argo
1.0
A C++ library for handling JSON.
|
Exception class for errors translating to and from UTF-8 strings. More...
#include <json_utf8_exception.hpp>
Public Member Functions | |
| json_utf8_exception (exception_type et, const std::string &s) noexcept | |
| json_utf8_exception (exception_type et, char c) noexcept | |
| json_utf8_exception (exception_type et, unsigned int i) noexcept | |
| void | add_byte_index (size_t byte_index) noexcept |
| Add the byte index where the error occured to the exception. | |
| size_t | get_byte_index () const noexcept |
| Get the (approximate) byte index at which the error occurred. | |
| size_t | get_column () const noexcept |
| Get the (approximate) column at which the error occurred. | |
Public Member Functions inherited from argo::json_exception | |
| json_exception (exception_type et) noexcept | |
| json_exception (exception_type et, const char *json_type_name) noexcept | |
| json_exception (exception_type et, const char *first_json_type_name, const char *second_json_type_name) noexcept | |
| exception_type | get_type () const noexcept |
| virtual const char * | what () const noexcept |
Exception class for errors translating to and from UTF-8 strings.
Definition at line 33 of file json_utf8_exception.hpp.
|
noexcept |
Constructor
| et | Type of the exeption. |
| s | Extra infomation to add to the message. |
Definition at line 33 of file json_utf8_exception.cpp.
|
noexcept |
Constructor
| et | Type of the exeption. |
| c | Extra infomation to add to the message. |
Definition at line 39 of file json_utf8_exception.cpp.
|
noexcept |
Constructor
| et | Type of the exeption. |
| i | Extra infomation to add to the message. |
Definition at line 45 of file json_utf8_exception.cpp.
1.8.11