FastLED 3.10.8
Loading...
Searching...
No Matches

◆ error_message()

const char * fl::fstream::error_message ( ) const

Definition at line 331 of file fstream.cpp.hpp.

331 {
332 if (mLocalError != 0) {
333#ifdef FASTLED_TESTING
335#else
336 return "Write to closed stream";
337#endif
338 }
339 if (!mHandle) {
340 return "No handle";
341 }
342 return mHandle->error_message();
343}
filebuf_ptr mHandle
Definition fstream.h:301
int mLocalError
Definition fstream.h:306
FASTLED_FORCE_INLINE char * strerror(int errnum) FL_NO_EXCEPT
Definition cstring.h:128

References fl::FL_NO_EXCEPT, mHandle, mLocalError, and fl::strerror().

+ Here is the call graph for this function: