MCPcopy Create free account
hub / github.com/SmingHub/Sming / setError

Method setError

Sming/Libraries/OtaUpgrade/OtaUpgrade/BasicStream.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void BasicStream::setError(Error code)
59{
60 assert(code != Error::None);
61 debug_e("Error: %s", toString(code).c_str());
62 errorCode = code;
63 state = State::Error;
64}
65
66void BasicStream::nextRom()
67{

Callers

nothing calls this directly

Calls 2

toStringFunction · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected