@brief get the text for a returned error code * @param err * @retval String */
| 213 | * @retval String |
| 214 | */ |
| 215 | inline String fileGetErrorString(int err) |
| 216 | { |
| 217 | auto fileSystem = getFileSystem(); |
| 218 | if(fileSystem == nullptr) { |
| 219 | return IFS::Error::toString(err); |
| 220 | } |
| 221 | return fileSystem->getErrorString(err); |
| 222 | } |
| 223 | |
| 224 | /** @brief Create or replace file with defined content |
| 225 | * @param fileName Name of file to create or replace |
no test coverage detected