Define constants to distinguish between gRPC Response statuses.
|OK is returned on success.
|Canceled indicates the operation was canceled (typically by the caller).
|InvalidArgument indicates the client specified an invalid argument.
|DeadlineExceeded means operation expired before completion.
|NotFound means some requested entity (e.g., file or directory) was not found.
|AlreadyExists means an attempt to create an entity failed because one already exists.
|PermissionDenied indicates the caller does not have permission to execute the specified operation.
|ResourceExhausted indicates some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
|FailedPrecondition indicates operation was rejected because the system is not in a state required for the operation's execution.
|Aborted indicates the operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
|OutOfRange means operation was attempted past the valid range. E.g., seeking or reading past end of file.
|Unimplemented indicates operation is not implemented or not supported/enabled in this service.
|Internal errors. Means some invariants expected by the underlying system have been broken.
|Unavailable indicates the service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations.
|DataLoss indicates unrecoverable data loss or corruption.
|Unauthenticated indicates the request does not have valid authentication credentials for the operation.