mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:27:45 +00:00
IPCCompiler+LibIPC: Propagate IPC encoder errors
This propagates errors from user-defined encoders up to IPC::Connection. There, we currently just log the error, as we aren't in a position to propagate it further (i.e. we are inside a deferred invocation).
This commit is contained in:
parent
ab99ed5fba
commit
8b7b03b369
4 changed files with 22 additions and 16 deletions
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
virtual u32 magic() const = 0;
|
||||
virtual DeprecatedString name() const = 0;
|
||||
virtual OwnPtr<MessageBuffer> handle(Message const&) = 0;
|
||||
virtual ErrorOr<OwnPtr<MessageBuffer>> handle(Message const&) = 0;
|
||||
|
||||
protected:
|
||||
Stub() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue