forked from ogier/pflag
-
Notifications
You must be signed in to change notification settings - Fork 366
Open
Description
The *OnError mechanism for how to handle errors is insufficient. We now have #160 which wants to ignore unknowns. Using the current error handling options we would need to add IgnoreUnknown to all of the existing OnError types (aka we would need ContinueIgnoreUnknownOnError, ExitIgnoreUnknownOnError, PanicIgnoreUnknonwOnError, etc. Every new 'option' we want to have on Errors will double the number of defines. This is not the best API design.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels