标题:Creating domain specific error helpers in Go with errors.As 原文链接:https://blog.carlmjohnson.net/post/2020/working-with-errors-as/ 译者自己根据原文翻译,译文保存为 markdown 格式,并附上尾部的签名。 ``` --- via: https://blog.carlmjohnson.net/post/2020/working-with-errors-as/ 作者:[Carl M. Johnson](https://carlmjohnson.net/) 译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID) 本文由 [GCTT](https://github.com/studygolang/GCTT) 原创编译,[Go 中文网](https://studygolang.com/) 荣誉推出 ```