```go func() { defer func() { if exception := r…

shruggr ·

```go
func() {
defer func() {
if exception := recover(); exception != nil {
// catch
fmt.Println("catch", exception)
}
fmt.Println("finally")
}()

fmt.Println("try")
panic("exception")
}()
```