### `err返回值`没有获取到,求解答!
```
package main
import "fmt"
func main() {
fmt.Println(Parse())
}
func Parse() error {
var err error
defer func() {
//选择性的recover
switch p := recover(); p {
case nil:
case "what":
err = fmt.Errorf("internal error")
fmt.Println(err)
default:
panic(p)
}
}()
panic("what")
return err
}
```
### **输出值**:
```
internal error
<nil>
```