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

◆ hasError()

bool fl::third_party::TJpgInstanceDecoder::hasError ( fl::string * msg = nullptr) const

Definition at line 233 of file driver.cpp.hpp.

233 {
234 if (state_ == State::Error) {
235 if (msg) {
236 *msg = error_message_;
237 }
238 return true;
239 }
240 return false;
241}

References Error, error_message_, fl::FL_NO_EXCEPT, and state_.