flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY

general exception of the basic_json class More...

#include <json.hpp>

Inheritance diagram for nlohmann::json_abi_v3_11_3::detail::exception:
Inheritance graph
Collaboration diagram for nlohmann::json_abi_v3_11_3::detail::exception:
Collaboration graph

Public Member Functions

const char * what () const noexcept override
 returns the explanatory string More...
 

Public Attributes

const int id
 the id of the exception More...
 

Protected Member Functions

 exception (int id_, const char *what_arg)
 

Static Protected Member Functions

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

Private Attributes

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

Detailed Description

general exception of the basic_json class

See also
https://json.nlohmann.me/api/basic_json/exception/

Definition at line 4371 of file json.hpp.

Constructor & Destructor Documentation

◆ exception()

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

Definition at line 4385 of file json.hpp.

Member Function Documentation

◆ diagnostics() [1/2]

template<typename BasicJsonType >
static std::string nlohmann::json_abi_v3_11_3::detail::exception::diagnostics ( const BasicJsonType *  leaf_element)
inlinestaticprotected

◆ diagnostics() [2/2]

static std::string nlohmann::json_abi_v3_11_3::detail::exception::diagnostics ( std::nullptr_t  )
inlinestaticprotected

Definition at line 4392 of file json.hpp.

◆ name()

static std::string nlohmann::json_abi_v3_11_3::detail::exception::name ( const std::string &  ename,
int  id_ 
)
inlinestaticprotected

◆ what()

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

returns the explanatory string

Definition at line 4375 of file json.hpp.

Member Data Documentation

◆ id

const int nlohmann::json_abi_v3_11_3::detail::exception::id

the id of the exception

Definition at line 4381 of file json.hpp.

◆ m

std::runtime_error nlohmann::json_abi_v3_11_3::detail::exception::m
private

an exception object as storage for error messages

Definition at line 4464 of file json.hpp.


The documentation for this class was generated from the following file: