pub enum ServiceInvocationError {
AlreadyExists(String),
DeadlineExceeded,
FailedPrecondition(String),
Internal(String),
InvalidArgument(String),
NotFound(String),
PermissionDenied(String),
ResourceExhausted(String),
RpcError(UStatus),
Unauthenticated,
Unavailable(String),
Unimplemented(String),
}
Expand description
An error indicating a problem with invoking a (remote) service operation.
Variants§
AlreadyExists(String)
Indicates that the calling uE requested to add/create something that already exists.
DeadlineExceeded
Indicates that a request’s time-to-live (TTL) has expired.
Note that this only means that the reply to the request has not been received in time. The request may still have been processed by the (remote) service provider.
FailedPrecondition(String)
Indicates that the service provider is in a state that prevents it from handling the request.
Internal(String)
Indicates that a serious but unspecified internal error has occurred while sending/processing the request.
InvalidArgument(String)
Indicates that the request cannot be processed because some of its parameters are invalid, e.g. not properly formatted.
NotFound(String)
Indicates that the requested entity was not found.
PermissionDenied(String)
Indicates that the calling uE is authenticated but does not have the required authority to invoke the method.
ResourceExhausted(String)
Indicates that some of the resources required for processing the request have been exhausted, e.g. disk space, number of API calls.
RpcError(UStatus)
Indicates an unspecific error that occurred at the Transport Layer while trying to publish a message.
Unauthenticated
Indicates that the calling uE could not be authenticated properly.
Indicates that some of the resources required for processing the request are currently unavailable.
Unimplemented(String)
Indicates that part or all of the invoked operation has not been implemented yet.
Trait Implementations§
Source§impl Clone for ServiceInvocationError
impl Clone for ServiceInvocationError
Source§fn clone(&self) -> ServiceInvocationError
fn clone(&self) -> ServiceInvocationError
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more