Y
Hacker News
new
|
ask
|
show
|
jobs
by
kbolino
575 days ago
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.