GRPC C++  1.30.0
status.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_IMPL_CODEGEN_STATUS_H
20 #define GRPC_IMPL_CODEGEN_STATUS_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 typedef enum {
29 
32 
39 
45 
52 
55 
59 
67 
71 
75 
96 
103 
120 
123 
128 
142 
145 
149 
150 #ifdef __cplusplus
151 }
152 #endif
153 
154 #endif /* GRPC_IMPL_CODEGEN_STATUS_H */
GRPC_STATUS_INTERNAL
Internal errors.
Definition: status.h:127
GRPC_STATUS_ABORTED
The operation was aborted, typically due to a concurrency issue like sequencer check failures,...
Definition: status.h:102
grpc_status_code
grpc_status_code
Definition: status.h:26
GRPC_STATUS_RESOURCE_EXHAUSTED
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out ...
Definition: status.h:74
GRPC_STATUS_UNAUTHENTICATED
The request does not have valid authentication credentials for the operation.
Definition: status.h:70
GRPC_STATUS_UNKNOWN
Unknown error.
Definition: status.h:38
GRPC_STATUS_UNIMPLEMENTED
Operation is not implemented or not supported/enabled in this service.
Definition: status.h:122
GRPC_STATUS_PERMISSION_DENIED
The caller does not have permission to execute the specified operation.
Definition: status.h:66
GRPC_STATUS_DATA_LOSS
Unrecoverable data loss or corruption.
Definition: status.h:144
GRPC_STATUS_OUT_OF_RANGE
Operation was attempted past the valid range.
Definition: status.h:119
GRPC_STATUS_INVALID_ARGUMENT
Client specified an invalid argument.
Definition: status.h:44
GRPC_STATUS_DEADLINE_EXCEEDED
Deadline expired before operation could complete.
Definition: status.h:51
GRPC_STATUS_UNAVAILABLE
The service is currently unavailable.
Definition: status.h:141
GRPC_STATUS_NOT_FOUND
Some requested entity (e.g., file or directory) was not found.
Definition: status.h:54
GRPC_STATUS_OK
Not an error; returned on success.
Definition: status.h:28
GRPC_STATUS_CANCELLED
The operation was cancelled (typically by the caller).
Definition: status.h:31
GRPC_STATUS_FAILED_PRECONDITION
Operation was rejected because the system is not in a state required for the operation's execution.
Definition: status.h:95
GRPC_STATUS__DO_NOT_USE
Force users to include a default branch:
Definition: status.h:147
GRPC_STATUS_ALREADY_EXISTS
Some entity that we attempted to create (e.g., file or directory) already exists.
Definition: status.h:58