Lines Matching refs:WriteStatus
910 t.WriteStatus(stream, st)
941 if e := t.WriteStatus(stream, st); e != nil {
949 if e := t.WriteStatus(stream, status.New(st.Code, st.Desc)); e != nil {
962 if e := t.WriteStatus(stream, st); e != nil {
1024 if e := t.WriteStatus(stream, appStatus); e != nil {
1043 if e := t.WriteStatus(stream, s); e != nil {
1051 if e := t.WriteStatus(stream, status.New(st.Code, st.Desc)); e != nil {
1069 return t.WriteStatus(stream, status.New(codes.OK, ""))
1122 t.WriteStatus(ss.s, st)
1187 t.WriteStatus(ss.s, appStatus)
1196 return t.WriteStatus(ss.s, status.New(codes.OK, ""))
1211 if err := t.WriteStatus(stream, status.New(codes.ResourceExhausted, errDesc)); err != nil {
1236 if err := t.WriteStatus(stream, status.New(codes.Unimplemented, errDesc)); err != nil {
1266 if err := t.WriteStatus(stream, status.New(codes.Unimplemented, errDesc)); err != nil {