Snippet: try-catch

property value
IDE Visual Studio
Language C++
Title try-catch
Shortcut tc
Description try-catch
Snippet Types Expansion
SurroundsWith

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_identifier Identifier name e yes
exception Exception name std::exception yes

Code

try {
	
} catch (const std::exception& e) {
}