()
| 199 | } |
| 200 | |
| 201 | func (s *Status) String() string { |
| 202 | return fmt.Sprintf("rpc error: code = %s desc = %s", s.Code(), s.Message()) |
| 203 | } |
| 204 | |
| 205 | // Error wraps a pointer of a status proto. It implements error and Status, |
| 206 | // and a nil *Error should never be returned by this package. |