FastLED 3.9.15
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
char * strerror(int errnum) FL_NOEXCEPT

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

+ Here is the call graph for this function: