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

◆ error()

int fl::fstream::error ( ) const

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

321 {
322 if (mLocalError != 0) {
323 return mLocalError;
324 }
325 if (!mHandle) {
327 }
328 return mHandle->error_code();
329}
filebuf_ptr mHandle
Definition fstream.h:301
int mLocalError
Definition fstream.h:306
constexpr int err_bad_file
Definition file_io.h:45

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