|
FastLED 3.9.15
|
| void fl::Remote::reportError | ( | const fl::string & | message | ) |
Send an error notification to the remote peer.
This is an unsolicited JSON-RPC notification (no request ID) that bypasses normal RPC flow. Use this for error-only state reporting where logging would fail due to serial backpressure. Format: {"jsonrpc":"2.0","method":"__error","params":{"message":"..."}}
Definition at line 115 of file remote.cpp.hpp.
References fl::json::object(), reportError(), and fl::json::set().
Referenced by reportError().
Here is the call graph for this function:
Here is the caller graph for this function: