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

Method setOnError

src/SimpleCLI.cpp:317–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317void SimpleCLI::setOnError(void (* onError)(cmd_error* e)) {
318 this->onError = onError;
319}
320
321void SimpleCLI::setErrorCallback(void (* onError)(cmd_error* e)) {
322 setOnError(onError);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected