TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ create() [2/2]

template<typename BasicJsonType >
static parse_error nlohmann::detail::parse_error::create ( int  id_,
std::size_t  byte_,
const std::string &  what_arg,
const BasicJsonType &  context 
)
inlinestatic

Definition at line 2808 of file json.hpp.

2809 {
2810 std::string w = exception::name("parse_error", id_) + "parse error" +
2811 (byte_ != 0 ? (" at byte " + std::to_string(byte_)) : "") +
2812 ": " + exception::diagnostics(context) + what_arg;
2813 return parse_error(id_, byte_, w.c_str());
2814 }