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

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

+ Here is the call graph for this function: