-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
breakingBreaking changesBreaking changescppC++ codeC++ codeenhancementNew feature or requestNew feature or requestzenohZenoh plugin codeZenoh plugin code
Description
Refactoring Task
Replace bool returns with structured errors (std::expected or error codes).
Motivation
Current API uses bool for error reporting which doesn't distinguish between error types: Connection failures, Invalid configuration, Subscription failures, State transition errors.
Proposed Solution
Use C++23 std::expected or custom Result type.
Breaking Changes
Yes - API will change
Files to Modify
- middlewares/zenoh/src/zenoh_plugin/include/zenoh_plugin.hpp
- middlewares/zenoh/src/zenoh_plugin/src/zenoh_plugin.cpp
Priority
Medium - Improves debugging and error handling
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breakingBreaking changesBreaking changescppC++ codeC++ codeenhancementNew feature or requestNew feature or requestzenohZenoh plugin codeZenoh plugin code