slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Protected 成员函数 | 静态 Protected 成员函数 | Private 属性 | 所有成员列表
detail::exception类 参考

general exception of the basic_json class 更多...

#include <json.hpp>

类 detail::exception 继承关系图:
Inheritance graph
[图例]
detail::exception 的协作图:
Collaboration graph
[图例]

Public 成员函数

const charwhat () const noexcept override
 returns the explanatory string
 

Public 属性

const int id
 the id of the exception
 

Protected 成员函数

 exception (int id_, const char *what_arg)
 

静态 Protected 成员函数

static std::string name (const std::string &ename, int id_)
 
static std::string diagnostics (std::nullptr_t)
 
template<typename BasicJsonType >
static std::string diagnostics (const BasicJsonType *leaf_element)
 

Private 属性

std::runtime_error m
 an exception object as storage for error messages
 

详细描述

general exception of the basic_json class

参见
https://json.nlohmann.me/api/basic_json/exception/

构造及析构函数说明

◆ exception()

detail::exception::exception ( int id_,
const char * what_arg )
inlineprotected

成员函数说明

◆ diagnostics() [1/2]

template<typename BasicJsonType >
static std::string detail::exception::diagnostics ( const BasicJsonType * leaf_element)
inlinestaticprotected
函数调用图:

◆ diagnostics() [2/2]

static std::string detail::exception::diagnostics ( std::nullptr_t )
inlinestaticprotected
这是这个函数的调用关系图:

◆ name()

static std::string detail::exception::name ( const std::string & ename,
int id_ )
inlinestaticprotected
函数调用图:
这是这个函数的调用关系图:

◆ what()

const char * detail::exception::what ( ) const
inlineoverridenoexcept

returns the explanatory string

类成员变量说明

◆ id

const int detail::exception::id

the id of the exception

◆ m

std::runtime_error detail::exception::m
private

an exception object as storage for error messages


该类的文档由以下文件生成: