|
|
@ -767,8 +767,8 @@ class ServicerContext(six.with_metaclass(abc.ABCMeta, RpcContext)): |
|
|
|
gRPC runtime to determine the status code of the RPC. |
|
|
|
gRPC runtime to determine the status code of the RPC. |
|
|
|
|
|
|
|
|
|
|
|
Args: |
|
|
|
Args: |
|
|
|
code: The integer status code of the RPC to be transmitted to the |
|
|
|
code: A StatusCode value to be transmitted to the invocation side of the |
|
|
|
invocation side of the RPC. |
|
|
|
RPC as the status code of the RPC. |
|
|
|
""" |
|
|
|
""" |
|
|
|
raise NotImplementedError() |
|
|
|
raise NotImplementedError() |
|
|
|
|
|
|
|
|
|
|
@ -780,8 +780,8 @@ class ServicerContext(six.with_metaclass(abc.ABCMeta, RpcContext)): |
|
|
|
details to transmit. |
|
|
|
details to transmit. |
|
|
|
|
|
|
|
|
|
|
|
Args: |
|
|
|
Args: |
|
|
|
details: The details string of the RPC to be transmitted to |
|
|
|
details: A string to be transmitted to the invocation side of the RPC as |
|
|
|
the invocation side of the RPC. |
|
|
|
the status details of the RPC. |
|
|
|
""" |
|
|
|
""" |
|
|
|
raise NotImplementedError() |
|
|
|
raise NotImplementedError() |
|
|
|
|
|
|
|
|
|
|
|