GRPC C++  1.26.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_code
Definition: status.h:26
Deadline expired before operation could complete.
Definition: status.h:51
Operation was rejected because the system is not in a state required for the operation's execution...
Definition: status.h:95
Force users to include a default branch:
Definition: status.h:147
Operation was attempted past the valid range.
Definition: status.h:119
The operation was cancelled (typically by the caller).
Definition: status.h:31
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out ...
Definition: status.h:74
Not an error; returned on success.
Definition: status.h:28
Unknown error.
Definition: status.h:38
The service is currently unavailable.
Definition: status.h:141
The request does not have valid authentication credentials for the operation.
Definition: status.h:70
Unrecoverable data loss or corruption.
Definition: status.h:144
The operation was aborted, typically due to a concurrency issue like sequencer check failures...
Definition: status.h:102
Some entity that we attempted to create (e.g., file or directory) already exists. ...
Definition: status.h:58
The caller does not have permission to execute the specified operation.
Definition: status.h:66
Internal errors.
Definition: status.h:127
Some requested entity (e.g., file or directory) was not found.
Definition: status.h:54
Client specified an invalid argument.
Definition: status.h:44
Operation is not implemented or not supported/enabled in this service.
Definition: status.h:122