Searched refs:ErrNil (Results 1 – 5 of 5) sorted by relevance
53 ErrNil = errors.New("proto: Marshal called with nil") var
139 return b, ErrNil2205 if err == ErrNil {2267 if err == ErrNil {2351 if err != ErrNil && !nerr.Merge(err) { // allow nil value in map2724 return nil, ErrNil2754 return ErrNil
1317 if _, err := Marshal(m); err != ErrNil {1324 if _, err := Marshal(m); err == nil || err == ErrNil {
68 ErrNil = errors.New("proto: Marshal called with nil") var
138 return b, ErrNil2182 if err == ErrNil {2251 if err == ErrNil {2314 if err != nil && err != ErrNil { // allow nil value in map2684 return nil, ErrNil2714 return ErrNil