golioth / golioth-zephyr-sdk

Golioth SDK For Zephyr
https://www.golioth.io
Apache License 2.0
67 stars 19 forks source link

{rpc,settings}: use POSIX error codes instead of -1 #268

Closed mniestroj closed 2 years ago

mniestroj commented 2 years ago

We should not return -1 directly. Instead, POSIX error code should be returned, so there is same developer experience for most APIs.

github-actions[bot] commented 2 years ago

Visit the preview URL for this PR (updated for commit 150acef):

https://golioth-zephyr-sdk-doxygen-dev--pr268-rpc-settings-bet-wkvnzooe.web.app

(expires Thu, 08 Sep 2022 13:24:05 GMT)

🔥 via Firebase Hosting GitHub Action 🌎