MCPcopy Create free account
hub / github.com/SpacehuhnTech/SimpleCLI / CommandError

Method CommandError

src/CommandError.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13CommandError::CommandError(cmd_error* errorPointer, bool persistent) : errorPointer(errorPointer), persistent(persistent) {
14 if (!persistent) this->errorPointer = cmd_error_copy(errorPointer);
15}
16
17CommandError::CommandError(const CommandError& e) {
18 persistent = e.persistent;

Callers

nothing calls this directly

Calls 1

cmd_error_copyFunction · 0.85

Tested by

no test coverage detected