pub fn new(kind: Kind, msg: impl Into<String>) -> Error
便捷构造函数(对齐 Go 的 errs.New/errs.Errorf/errs.Wrap)。