Sentinel error
Also written: ErrNotFound, ErrInvalid, sentinel
A package-level error value, such as `ErrNotFound`, that callers compare with `errors.Is`. The API turns `ErrNotFound` into a 404 and `ErrInvalid` into a 400.
Also written: ErrNotFound, ErrInvalid, sentinel
A package-level error value, such as `ErrNotFound`, that callers compare with `errors.Is`. The API turns `ErrNotFound` into a 404 and `ErrInvalid` into a 400.