MCPcopy Create free account
hub / github.com/DFHack/dfhack / InvalidArgument

Method InvalidArgument

library/Error.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17{}
18
19InvalidArgument::InvalidArgument(const char *expr, const char *func)
20 :All("In " + safe_str(func) + ": Invalid argument; expected: " + safe_str(expr)),
21 expr(expr)
22{}
23
24VTableMissing::VTableMissing(const char *name)
25 :All("Missing vtable address: " + safe_str(name)),

Callers

nothing calls this directly

Calls 1

safe_strFunction · 0.85

Tested by

no test coverage detected