func google.golang.org/grpc/status.Error

43 uses

	google.golang.org/grpc/status (current package)
		status.go#L58: func Error(c codes.Code, msg string) error {
		status.go#L64: 	return Error(c, fmt.Sprintf(format, a...))

	google.golang.org/grpc
		clientconn.go#L72: 	ErrClientConnClosing = status.Error(codes.Canceled, "grpc: the client connection is closing")
		clientconn.go#L1645: 			return nil, status.Error(codes.Canceled, "the provided transport is no longer valid to use")
		picker_wrapper.go#L133: 					return pick{}, status.Error(codes.DeadlineExceeded, errStr)
		picker_wrapper.go#L135: 					return pick{}, status.Error(codes.Canceled, errStr)
		picker_wrapper.go#L176: 			return pick{}, status.Error(codes.Unavailable, err.Error())
		rpc_util.go#L1129: var errContextCanceled = status.Error(codes.Canceled, context.Canceled.Error())
		rpc_util.go#L1130: var errContextDeadline = status.Error(codes.DeadlineExceeded, context.DeadlineExceeded.Error())
		rpc_util.go#L1142: 		return status.Error(codes.Internal, err.Error())
		rpc_util.go#L1147: 		return status.Error(codes.Unavailable, e.Desc)
		rpc_util.go#L1156: 	return status.Error(codes.Unknown, err.Error())
		stream.go#L227: 			return nil, status.Error(codes.Internal, err.Error())
		stream.go#L233: 					return nil, status.Error(codes.Internal, err.Error())
		stream.go#L1181: 				return status.Error(codes.Internal, "cardinality violation: received no response message from non-server-streaming RPC")
		stream.go#L1217: 	return status.Error(codes.Internal, "cardinality violation: expected <EOF> for non server-streaming RPCs, but received another message")
		stream.go#L1381: 				as.finish(status.Error(codes.Canceled, "grpc: the SubConn is closing"))
		stream.go#L1532: 				return status.Error(codes.Internal, "cardinality violation: received no response message from non-server-streaming RPC")
		stream.go#L1552: 	return status.Error(codes.Internal, "cardinality violation: expected <EOF> for non server-streaming RPCs, but received another message")
		stream.go#L1676: 		return status.Error(codes.Internal, err.Error())
		stream.go#L1684: 		return status.Error(codes.Internal, err.Error())
		stream.go#L1834: 				return status.Error(codes.Internal, "cardinality violation: received no request message from non-client-streaming RPC")
		stream.go#L1839: 			err = status.Error(codes.Internal, io.ErrUnexpectedEOF.Error())
		stream.go#L1873: 	return status.Error(codes.Internal, "cardinality violation: received multiple request messages for non-client-streaming RPC")

	google.golang.org/grpc/health
		server.go#L69: 	return nil, status.Error(codes.NotFound, "unknown service")
		server.go#L125: 				return status.Error(codes.Canceled, "Stream has ended.")
		server.go#L129: 			return status.Error(codes.Canceled, "Stream has ended.")

	google.golang.org/grpc/health/grpc_health_v1
		health_grpc.pb.go#L191: 	return nil, status.Error(codes.Unimplemented, "method Check not implemented")
		health_grpc.pb.go#L194: 	return nil, status.Error(codes.Unimplemented, "method List not implemented")
		health_grpc.pb.go#L197: 	return status.Error(codes.Unimplemented, "method Watch not implemented")

	google.golang.org/grpc/internal/transport
		handler_server.go#L110: 			return nil, status.Error(codes.Internal, msg)
		handler_server.go#L130: 				return nil, status.Error(codes.Internal, msg)
		handler_server.go#L499: 			return status.Error(code, se.Error())
		handler_server.go#L503: 		return status.Error(codes.Canceled, err.Error())
		http2_client.go#L612: 			return nil, status.Error(codes.DeadlineExceeded, context.DeadlineExceeded.Error())
		http2_client.go#L710: 				return nil, status.Error(codes.Unauthenticated, "transport: cannot send secure credentials on an insecure connection")
		http2_client.go#L1731: 					t.closeStream(s, status.Error(code, msg), true, http2.ErrCodeProtocol, status.New(code, msg), nil, false)
		http2_server.go#L65: 	ErrIllegalHeaderWrite = status.Error(codes.Internal, "transport: SendHeader called multiple times")
		http2_server.go#L68: 	ErrHeaderListSizeLimitViolation = status.Error(codes.Internal, "transport: trying to send header list size larger than the limit set by peer")
		http2_server.go#L1032: 			return status.Error(codes.Unavailable, e.Desc)
		transport.go#L728: 	errStreamDrain = status.Error(codes.Unavailable, "the connection is draining")
		transport.go#L771: 		return status.Error(codes.DeadlineExceeded, err.Error())
		transport.go#L773: 		return status.Error(codes.Canceled, err.Error())