flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
nlohmann::json_abi_v3_11_3::detail::type_error Class Reference

exception indicating executing a member function with a wrong type More...

#include <json.hpp>

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

Static Public Member Functions

template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0>
static type_error create (int id_, const std::string &what_arg, BasicJsonContext context)
 

Private Member Functions

 type_error (int id_, const char *what_arg)
 

Additional Inherited Members

- Public Member Functions inherited from nlohmann::json_abi_v3_11_3::detail::exception
const char * what () const noexcept override
 returns the explanatory string More...
 
- Public Attributes inherited from nlohmann::json_abi_v3_11_3::detail::exception
const int id
 the id of the exception More...
 
- Protected Member Functions inherited from nlohmann::json_abi_v3_11_3::detail::exception
 exception (int id_, const char *what_arg)
 
- Static Protected Member Functions inherited from nlohmann::json_abi_v3_11_3::detail::exception
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_)
 

Detailed Description

exception indicating executing a member function with a wrong type

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

Definition at line 4540 of file json.hpp.

Constructor & Destructor Documentation

◆ type_error()

nlohmann::json_abi_v3_11_3::detail::type_error::type_error ( int  id_,
const char *  what_arg 
)
inlineprivate

Definition at line 4552 of file json.hpp.

Member Function Documentation

◆ create()

template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0>
static type_error nlohmann::json_abi_v3_11_3::detail::type_error::create ( int  id_,
const std::string &  what_arg,
BasicJsonContext  context 
)
inlinestatic

Definition at line 4544 of file json.hpp.

References nlohmann::json_abi_v3_11_3::detail::concat().


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