Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc._channel._InactiveRpcError Class Reference
Inheritance diagram for grpc._channel._InactiveRpcError:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, state)
 
def __repr__ (self)
 
def __str__ (self)
 
def add_done_callback (self, fn, timeout=None)
 
def cancel (self)
 
def cancelled (self)
 
def code (self)
 
def debug_error_string (self)
 
def details (self)
 
def done (self)
 
def exception (self, timeout=None)
 
def initial_metadata (self)
 
def result (self, timeout=None)
 
def running (self)
 
def traceback (self, timeout=None)
 
def trailing_metadata (self)
 
- Public Member Functions inherited from grpc.RpcContext
def add_callback (self, callback)
 
def is_active (self)
 
def time_remaining (self)
 
- Public Member Functions inherited from grpc.Future
def add_done_callback (self, fn)
 

Private Member Functions

def _repr (self)
 

Private Attributes

 _state
 

Detailed Description

An RPC error not tied to the execution of a particular RPC.

The RPC represented by the state object must not be in-progress or
cancelled.

Attributes:
  _state: An instance of _RPCState.

Definition at line 283 of file grpc/_channel.py.

Constructor & Destructor Documentation

◆ __init__()

def grpc._channel._InactiveRpcError.__init__ (   self,
  state 
)

Definition at line 293 of file grpc/_channel.py.

Member Function Documentation

◆ __repr__()

def grpc._channel._InactiveRpcError.__repr__ (   self)

Definition at line 319 of file grpc/_channel.py.

◆ __str__()

def grpc._channel._InactiveRpcError.__str__ (   self)

Definition at line 322 of file grpc/_channel.py.

◆ _repr()

def grpc._channel._InactiveRpcError._repr (   self)
private

Definition at line 316 of file grpc/_channel.py.

◆ add_done_callback()

def grpc._channel._InactiveRpcError.add_done_callback (   self,
  fn,
  timeout = None 
)
See grpc.Future.add_done_callback.

Definition at line 356 of file grpc/_channel.py.

◆ cancel()

def grpc._channel._InactiveRpcError.cancel (   self)
See grpc.Future.cancel.

Reimplemented from grpc.Future.

Definition at line 325 of file grpc/_channel.py.

◆ cancelled()

def grpc._channel._InactiveRpcError.cancelled (   self)
See grpc.Future.cancelled.

Reimplemented from grpc.Future.

Definition at line 329 of file grpc/_channel.py.

◆ code()

def grpc._channel._InactiveRpcError.code (   self)
Accesses the status code sent by the server.

This method blocks until the value is available.

Returns:
  The StatusCode value for the RPC.

Reimplemented from grpc.Call.

Definition at line 307 of file grpc/_channel.py.

◆ debug_error_string()

def grpc._channel._InactiveRpcError.debug_error_string (   self)

Definition at line 313 of file grpc/_channel.py.

◆ details()

def grpc._channel._InactiveRpcError.details (   self)
Accesses the details sent by the server.

This method blocks until the value is available.

Returns:
  The details string of the RPC.

Reimplemented from grpc.Call.

Definition at line 310 of file grpc/_channel.py.

◆ done()

def grpc._channel._InactiveRpcError.done (   self)
See grpc.Future.done.

Reimplemented from grpc.Future.

Definition at line 337 of file grpc/_channel.py.

◆ exception()

def grpc._channel._InactiveRpcError.exception (   self,
  timeout = None 
)
See grpc.Future.exception.

Reimplemented from grpc.Future.

Definition at line 345 of file grpc/_channel.py.

◆ initial_metadata()

def grpc._channel._InactiveRpcError.initial_metadata (   self)
Accesses the initial metadata sent by the server.

This method blocks until the value is available.

Returns:
  The initial :term:`metadata`.

Reimplemented from grpc.Call.

Definition at line 301 of file grpc/_channel.py.

◆ result()

def grpc._channel._InactiveRpcError.result (   self,
  timeout = None 
)
See grpc.Future.result.

Reimplemented from grpc.Future.

Definition at line 341 of file grpc/_channel.py.

◆ running()

def grpc._channel._InactiveRpcError.running (   self)
See grpc.Future.running.

Reimplemented from grpc.Future.

Definition at line 333 of file grpc/_channel.py.

◆ traceback()

def grpc._channel._InactiveRpcError.traceback (   self,
  timeout = None 
)
See grpc.Future.traceback.

Reimplemented from grpc.Future.

Definition at line 349 of file grpc/_channel.py.

◆ trailing_metadata()

def grpc._channel._InactiveRpcError.trailing_metadata (   self)
Accesses the trailing metadata sent by the server.

This method blocks until the value is available.

Returns:
  The trailing :term:`metadata`.

Reimplemented from grpc.Call.

Definition at line 304 of file grpc/_channel.py.

Member Data Documentation

◆ _state

grpc._channel._InactiveRpcError._state
private

Definition at line 295 of file grpc/_channel.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:31