MCPcopy Create free account
hub / github.com/bitfieldaudio/OTTO / create

Method create

external/include/json.hpp:395–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393{
394 public:
395 static type_error create(int id_, const std::string& what_arg)
396 {
397 std::string w = exception::name("type_error", id_) + what_arg;
398 return type_error(id_, w.c_str());
399 }
400
401 private:
402 type_error(int id_, const char* what_arg) : exception(id_, what_arg) {}

Callers

nothing calls this directly

Calls 2

type_errorClass · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected