Skip to content

Glossary: System Design Basics in Go

errors.Is

A Go function that checks whether an error, or one it wraps, is a particular sentinel error such as `ErrConnection`.

Where the book teaches it

Related terms

sentinel errorerror wrapping (%w)errors.As