Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Probably worth noting that errors.As uses assignability to match errors, while errors.Is is what uses simple equality. Either way, both work well without custom implementations in the usual cases.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: