|
tuple | ABORTED = (_cygrpc.StatusCode.aborted, 'aborted') |
|
tuple | ALREADY_EXISTS = (_cygrpc.StatusCode.already_exists, 'already exists') |
|
tuple | CANCELLED = (_cygrpc.StatusCode.cancelled, 'cancelled') |
|
tuple | DATA_LOSS = (_cygrpc.StatusCode.data_loss, 'data loss') |
|
tuple | DEADLINE_EXCEEDED |
|
tuple | FAILED_PRECONDITION |
|
tuple | INTERNAL = (_cygrpc.StatusCode.internal, 'internal') |
|
tuple | INVALID_ARGUMENT = (_cygrpc.StatusCode.invalid_argument, 'invalid argument') |
|
tuple | NOT_FOUND = (_cygrpc.StatusCode.not_found, 'not found') |
|
tuple | OK = (_cygrpc.StatusCode.ok, 'ok') |
|
tuple | OUT_OF_RANGE = (_cygrpc.StatusCode.out_of_range, 'out of range') |
|
tuple | PERMISSION_DENIED |
|
tuple | RESOURCE_EXHAUSTED |
|
tuple | UNAUTHENTICATED = (_cygrpc.StatusCode.unauthenticated, 'unauthenticated') |
|
tuple | UNAVAILABLE = (_cygrpc.StatusCode.unavailable, 'unavailable') |
|
tuple | UNIMPLEMENTED = (_cygrpc.StatusCode.unimplemented, 'unimplemented') |
|
tuple | UNKNOWN = (_cygrpc.StatusCode.unknown, 'unknown') |
|
Mirrors grpc_status_code in the gRPC Core.
Attributes:
OK: Not an error; returned on success
CANCELLED: The operation was cancelled (typically by the caller).
UNKNOWN: Unknown error.
INVALID_ARGUMENT: Client specified an invalid argument.
DEADLINE_EXCEEDED: Deadline expired before operation could complete.
NOT_FOUND: Some requested entity (e.g., file or directory) was not found.
ALREADY_EXISTS: Some entity that we attempted to create (e.g., file or directory)
already exists.
PERMISSION_DENIED: The caller does not have permission to execute the specified
operation.
UNAUTHENTICATED: The request does not have valid authentication credentials for the
operation.
RESOURCE_EXHAUSTED: Some resource has been exhausted, perhaps a per-user quota, or
perhaps the entire file system is out of space.
FAILED_PRECONDITION: Operation was rejected because the system is not in a state
required for the operation's execution.
ABORTED: The operation was aborted, typically due to a concurrency issue
like sequencer check failures, transaction aborts, etc.
UNIMPLEMENTED: Operation is not implemented or not supported/enabled in this service.
INTERNAL: Internal errors. Means some invariants expected by underlying
system has been broken.
UNAVAILABLE: The service is currently unavailable.
DATA_LOSS: Unrecoverable data loss or corruption.
Definition at line 232 of file src/python/grpcio/grpc/__init__.py.