MCPcopy Create free account
hub / github.com/charto/nbind / setError

Method setError

include/nbind/api.h:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 static inline void setError(const char *message) {
51 if(!Status::message) {
52 Status::message = new char[strlen(message) + 1];
53 if(Status::message) strcpy(Status::message, message);
54 }
55 }
56
57private:
58

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected