Closed kodebach closed 5 months ago
I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:
I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:
libelektra-opts
uses our standarderrorKey
system to report errors. That's sufficient, if the errors are just displayed to the user, but if you want to do additional error handling for some cases you have to attempt parsing the human-readable error message. For example:https://github.com/ElektraInitiative/libelektra/blob/813f9c799cb94fc72e9e25ce69e1d1b2cf136053/src/tools/kdb/main.c#L135-L149
It would be nice, if
elektraGetOpts
set additionalmeta:/
keys to provide machine-readable details for the error.For example: