patch: errors (todo)

This commit is contained in:
xushiwei
2024-06-18 13:50:55 +08:00
parent a3197c12a8
commit 7a15cf1157
4 changed files with 28 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
package main
import "errors"
func main() {
err := errors.New("error")
panic(err)
}