GoFrame框架提供了强大、丰富的错误处理能力,由gerror组件实现。
GoFrame
gerror
使用方式:
import "github.com/gogf/gf/errors/gerror"
接口文档:
https://godoc.org/github.com/gogf/gf/errors/gerror