You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this problem when attempting to nest a lamba option under a sub-command. The error context returned from the lambda is dropped when unwinding the stack.
I encountered this problem when attempting to nest a lamba option under a sub-command. The error context returned from the lambda is dropped when unwinding the stack.
Here is an example to demonstrate the behavior:
Behavior with a top-level argument.
Behavior with a sub-command argument. The error message with context for the user is lost.
The error propagates back up the stack to this point:
Lyra/include/lyra/arguments.hpp
Lines 313 to 316 in a8bb6e2
And the error context is dropped a few lines later here:
Lyra/include/lyra/arguments.hpp
Lines 351 to 352 in a8bb6e2
The text was updated successfully, but these errors were encountered: