also check errors package: https://godoc.org/github.com/pkg/errors
On Sunday, July 30, 2017 at 12:56:25 PM UTC+3, Oleg Puchinin wrote: > > Cool ! Thank you ! > > Oleg. > > 2017-07-30 15:39 GMT+06:00 <dja...@gmail.com <javascript:>>: > >> >> https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully >> >> >> On Sunday, July 30, 2017 at 11:40:59 AM UTC+3, Oleg Puchinin wrote: >>> >>> Hi ! >>> IMHO package "errors" bad. How in the program to check which error >>> actually occurred? >>> Well it is impossible on a string. >>> >>> Thank you ! >>> Oleg. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.