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

Method getErrorString

Sming/Libraries/Spiffs/src/FileSystem.cpp:259–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259String FileSystem::getErrorString(int err)
260{
261 if(Error::isSystem(err)) {
262 return spiffsErrorToStr(Error::toSystem(err));
263 } else {
264 return IFS::Error::toString(err);
265 }
266}
267
268FileHandle FileSystem::open(const char* path, OpenFlags flags)
269{

Callers 7

initFileSystemFunction · 0.45
mountSpiffsFromFileMethod · 0.45
readCheckMethod · 0.45
host_flashmem_initFunction · 0.45
readFlashFileFunction · 0.45
writeFlashFileFunction · 0.45
spiffs_formatFunction · 0.45

Calls 2

spiffsErrorToStrFunction · 0.85
toStringFunction · 0.50

Tested by

no test coverage detected