Sentinel errors are predefined error values:
var ErrNotFound = errors.New("not found")
var ErrPermission = errors.New("permission denied")
Export them (uppercase) so callers can check for specific errors. The standard library uses this pattern. io.EOF is a sentinel error indicating end of file.