-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Add wrap strategy to settings
{
"surroundWithTryCatch.wrapStrategy": ""
}The existing enum in code:
private enum WrapStrategy
{
Minimal, // Wraps the throw site and the immediate dependencies in a try.
MinimalTransitive, // Wraps the throw site and the transitive dependencies in at try
Remainder, // Wraps the remainder of the statements (from the throw site to the end of the block) in a try.
FullBlock // Wraps all the statements in the current block in a try.
}