Skip to content

Glossary: Go Basics

ErrNotFound

Also written: Err values, sentinel error

A fixed error value, made once with `errors.New`, that callers can recognize with `errors.Is`. By convention such names start with `Err`; the inventory tool uses it for unknown SKUs.

Where the book teaches it

Related terms

errors.Is and errors.As