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

Method clearError

include/nbind/api.h:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 static inline const char *getError() { return(message); }
44
45 static inline void clearError() {
46 if(Status::message) delete Status::message;
47 Status::message = nullptr;
48 }
49
50 static inline void setError(const char *message) {
51 if(!Status::message) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected