Base class for all operations, directly corresponding to rpc requests. Handles making the request, and taking delivery of the reply.
Implementations of request() call this method to send the request and process the reply.
|Parameter:||op – operation to be requested|
|Return type:||RPCReply (sync) or RPC (async)|
This represents an error which prevented a reply from being received. An rpc-error does not fall in that category – see RPCReply for that.
Depending on this exception raising mode, an rpc-error in the reply may be raised as RPCError exceptions. Valid values:
Represents an rpc-reply. Only concerns itself with whether the operation was successful.
If the reply has not yet been parsed there is an implicit, one-time parsing overhead to accessing the attributes defined by this class and any subclasses.
Represents an rpc-error. It is a type of OperationError and can be raised like any other exception.