Surround with try…catch

Surround a sequence of statements in a try…catch block.

Code action
P42 for VS Code
Surround with try…catch

Learn More

Available In