FastLED 3.9.15
Loading...
Searching...
No Matches

◆ error()

int fl::ofstream::error ( ) const

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

186 {
187 if (mLocalError != 0) {
188 return mLocalError;
189 }
190 if (!mHandle) {
192 }
193 return mHandle->error_code();
194}
int mLocalError
Definition fstream.h:213
filebuf_ptr mHandle
Definition fstream.h:209
constexpr int err_bad_file
Definition file_io.h:45

References fl::io::err_bad_file, mHandle, and mLocalError.