STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
detail::other_error Class Reference

exception indicating other library errors More...

#include <json.hpp>

Inheritance diagram for detail::other_error:
[legend]
Collaboration diagram for detail::other_error:
[legend]

Static Public Member Functions

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

Private Member Functions

 other_error (int id_, const char *what_arg)

Additional Inherited Members

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

Detailed Description

exception indicating other library errors

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

Definition at line 4574 of file json.hpp.

Constructor & Destructor Documentation

◆ other_error()

detail::other_error::other_error ( int id_,
const char * what_arg )
inlineprivate

Definition at line 4586 of file json.hpp.

References detail::exception::exception(), and other_error().

Referenced by create(), and other_error().

Member Function Documentation

◆ create()

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

The documentation for this class was generated from the following file:
  • daq-server/diablo_server/lib/include/nlohmann/json.hpp