Glossary: Go Beyond the Basics
sentinel error
Also written: sentinel
A package-level error value, like `ErrSoldOut` or `ErrNotFound`, that callers compare with `errors.Is`.
Glossary: Go Beyond the Basics
Also written: sentinel
A package-level error value, like `ErrSoldOut` or `ErrNotFound`, that callers compare with `errors.Is`.