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

◆ catch_()

StreamHandle & fl::net::http::StreamHandle::catch_ ( fl::function< void(const fl::task::Error &)> cb)

Register callback for errors.

Definition at line 35 of file stream_transport.cpp.hpp.

35 {
36 mPromise.catch_(fl::move(cb));
37 return *this;
38}
fl::task::Promise< fl::json > mPromise
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30

References StreamHandle(), fl::FL_NO_EXCEPT, fl::adl_barrier::move(), and mPromise.

Referenced by StreamHandle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: