+++
@@ -130,3 +130,34 @@ git config --global user.email "mail@example.com"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Блок try/catch
|
||||
|
||||
```json
|
||||
{
|
||||
"Блок try/catch": {
|
||||
"prefix": "tr",
|
||||
"body": [
|
||||
"try",
|
||||
"{",
|
||||
"\tthrow new NotImplementedException();",
|
||||
"}",
|
||||
"catch (Exception ex)",
|
||||
"{",
|
||||
"\t$0throw;",
|
||||
"}"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Блок throw new NotImplementedException()
|
||||
|
||||
```json
|
||||
{
|
||||
"Блок throw new NotImplementedException()": {
|
||||
"prefix": "thr",
|
||||
"body": "throw new NotImplementedException();"
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user