Static Public Attributes | List of all members
grpc.StatusCode Class Reference
Inheritance diagram for grpc.StatusCode:
Inheritance graph
[legend]

Static Public Attributes

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')
 

Detailed Description

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.

Member Data Documentation

◆ ABORTED

tuple grpc.StatusCode.ABORTED = (_cygrpc.StatusCode.aborted, 'aborted')
static

Definition at line 274 of file src/python/grpcio/grpc/__init__.py.

◆ ALREADY_EXISTS

tuple grpc.StatusCode.ALREADY_EXISTS = (_cygrpc.StatusCode.already_exists, 'already exists')
static

Definition at line 267 of file src/python/grpcio/grpc/__init__.py.

◆ CANCELLED

tuple grpc.StatusCode.CANCELLED = (_cygrpc.StatusCode.cancelled, 'cancelled')
static

Definition at line 261 of file src/python/grpcio/grpc/__init__.py.

◆ DATA_LOSS

tuple grpc.StatusCode.DATA_LOSS = (_cygrpc.StatusCode.data_loss, 'data loss')
static

Definition at line 279 of file src/python/grpcio/grpc/__init__.py.

◆ DEADLINE_EXCEEDED

tuple grpc.StatusCode.DEADLINE_EXCEEDED
static
Initial value:
= (_cygrpc.StatusCode.deadline_exceeded,
'deadline exceeded')

Definition at line 264 of file src/python/grpcio/grpc/__init__.py.

◆ FAILED_PRECONDITION

tuple grpc.StatusCode.FAILED_PRECONDITION
static
Initial value:
= (_cygrpc.StatusCode.failed_precondition,
'failed precondition')

Definition at line 272 of file src/python/grpcio/grpc/__init__.py.

◆ INTERNAL

tuple grpc.StatusCode.INTERNAL = (_cygrpc.StatusCode.internal, 'internal')
static

Definition at line 277 of file src/python/grpcio/grpc/__init__.py.

◆ INVALID_ARGUMENT

tuple grpc.StatusCode.INVALID_ARGUMENT = (_cygrpc.StatusCode.invalid_argument, 'invalid argument')
static

Definition at line 263 of file src/python/grpcio/grpc/__init__.py.

◆ NOT_FOUND

tuple grpc.StatusCode.NOT_FOUND = (_cygrpc.StatusCode.not_found, 'not found')
static

Definition at line 266 of file src/python/grpcio/grpc/__init__.py.

◆ OK

tuple grpc.StatusCode.OK = (_cygrpc.StatusCode.ok, 'ok')
static

Definition at line 260 of file src/python/grpcio/grpc/__init__.py.

◆ OUT_OF_RANGE

tuple grpc.StatusCode.OUT_OF_RANGE = (_cygrpc.StatusCode.out_of_range, 'out of range')
static

Definition at line 275 of file src/python/grpcio/grpc/__init__.py.

◆ PERMISSION_DENIED

tuple grpc.StatusCode.PERMISSION_DENIED
static
Initial value:
= (_cygrpc.StatusCode.permission_denied,
'permission denied')

Definition at line 268 of file src/python/grpcio/grpc/__init__.py.

◆ RESOURCE_EXHAUSTED

tuple grpc.StatusCode.RESOURCE_EXHAUSTED
static
Initial value:
= (_cygrpc.StatusCode.resource_exhausted,
'resource exhausted')

Definition at line 270 of file src/python/grpcio/grpc/__init__.py.

◆ UNAUTHENTICATED

tuple grpc.StatusCode.UNAUTHENTICATED = (_cygrpc.StatusCode.unauthenticated, 'unauthenticated')
static

Definition at line 280 of file src/python/grpcio/grpc/__init__.py.

◆ UNAVAILABLE

tuple grpc.StatusCode.UNAVAILABLE = (_cygrpc.StatusCode.unavailable, 'unavailable')
static

Definition at line 278 of file src/python/grpcio/grpc/__init__.py.

◆ UNIMPLEMENTED

tuple grpc.StatusCode.UNIMPLEMENTED = (_cygrpc.StatusCode.unimplemented, 'unimplemented')
static

Definition at line 276 of file src/python/grpcio/grpc/__init__.py.

◆ UNKNOWN

tuple grpc.StatusCode.UNKNOWN = (_cygrpc.StatusCode.unknown, 'unknown')
static

Definition at line 262 of file src/python/grpcio/grpc/__init__.py.


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


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:03:57