-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
Currently one can't access the original supplied arguments in a fail handler.
But especially if you want to modify the exception to contain some more information (related to arguments) it would be very nice to have access on those.
In my environment, we are using your library to add operational tracing and an exception re-writer extension to File & Directory. So whenever a call to one of those fails, we create a new Exception containing the "path" tried to access (to improve the logs. E.g. tell the Sysadmin: 'Hey, access on blabla failed because of UnauthorizedAccessException')..