FastLED 3.9.15
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 34 of file stream_transport.cpp.hpp.

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

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

Referenced by StreamHandle().

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