MCPcopy Create free account
hub / github.com/davisking/dlib / fatal_error

Method fatal_error

tools/imglab/src/convert_pascal_xml.cpp:165–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 ) { }
164
165 virtual void fatal_error (
166 const unsigned long line_number
167 )
168 {
169 std::ostringstream sout;
170 sout << "There is a fatal error on line " << line_number << " so parsing will now halt.";
171 throw dlib::error(sout.str());
172 }
173 };
174
175// ----------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

errorClass · 0.85
strMethod · 0.45

Tested by

no test coverage detected