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

◆ error_message()

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

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

196 {
197 if (mLocalError != 0) {
198#ifdef FASTLED_TESTING
200#else
201 return "Write to closed stream";
202#endif
203 }
204 if (!mHandle) {
205 return "No handle";
206 }
207 return mHandle->error_message();
208}
int mLocalError
Definition fstream.h:213
filebuf_ptr mHandle
Definition fstream.h:209
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: