eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
1.03k stars 40 forks source link

Provide error description strings via C/C++ API #491

Closed orecham closed 1 day ago

orecham commented 3 weeks ago

Brief feature description

For convenience / logging purposes, an API to retrieve a pointer to a string describing each error variant would be useful.

Detailed information

  1. Description strings should be statically compiled into the binary to avoid dynamic allocations
  2. The API should provide a pointer to the correct string given an error variant as input