GRPC C++  1.66.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_STATUS_H
20 #define GRPC_STATUS_H
21 
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 typedef enum {
31 
34 
41 
47 
54 
57 
61 
69 
73 
77 
98 
105 
122 
125 
130 
144 
147 
151 
152 #ifdef __cplusplus
153 }
154 #endif
155 
156 #endif /* GRPC_STATUS_H */
GRPC_STATUS_UNAVAILABLE
@ GRPC_STATUS_UNAVAILABLE
The service is currently unavailable.
Definition: status.h:143
GRPC_STATUS_FAILED_PRECONDITION
@ GRPC_STATUS_FAILED_PRECONDITION
Operation was rejected because the system is not in a state required for the operation's execution.
Definition: status.h:97
grpc_status_code
grpc_status_code
Definition: status.h:28
GRPC_STATUS_DEADLINE_EXCEEDED
@ GRPC_STATUS_DEADLINE_EXCEEDED
Deadline expired before operation could complete.
Definition: status.h:53
GRPC_STATUS_CANCELLED
@ GRPC_STATUS_CANCELLED
The operation was cancelled (typically by the caller).
Definition: status.h:33
GRPC_STATUS_OUT_OF_RANGE
@ GRPC_STATUS_OUT_OF_RANGE
Operation was attempted past the valid range.
Definition: status.h:121
GRPC_STATUS__DO_NOT_USE
@ GRPC_STATUS__DO_NOT_USE
Force users to include a default branch:
Definition: status.h:149
GRPC_STATUS_INVALID_ARGUMENT
@ GRPC_STATUS_INVALID_ARGUMENT
Client specified an invalid argument.
Definition: status.h:46
GRPC_STATUS_INTERNAL
@ GRPC_STATUS_INTERNAL
Internal errors.
Definition: status.h:129
GRPC_STATUS_DATA_LOSS
@ GRPC_STATUS_DATA_LOSS
Unrecoverable data loss or corruption.
Definition: status.h:146
GRPC_STATUS_PERMISSION_DENIED
@ GRPC_STATUS_PERMISSION_DENIED
The caller does not have permission to execute the specified operation.
Definition: status.h:68
GRPC_STATUS_UNIMPLEMENTED
@ GRPC_STATUS_UNIMPLEMENTED
Operation is not implemented or not supported/enabled in this service.
Definition: status.h:124
GRPC_STATUS_ABORTED
@ GRPC_STATUS_ABORTED
The operation was aborted, typically due to a concurrency issue like sequencer check failures,...
Definition: status.h:104
GRPC_STATUS_NOT_FOUND
@ GRPC_STATUS_NOT_FOUND
Some requested entity (e.g., file or directory) was not found.
Definition: status.h:56
GRPC_STATUS_ALREADY_EXISTS
@ GRPC_STATUS_ALREADY_EXISTS
Some entity that we attempted to create (e.g., file or directory) already exists.
Definition: status.h:60
GRPC_STATUS_RESOURCE_EXHAUSTED
@ 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:76
GRPC_STATUS_UNKNOWN
@ GRPC_STATUS_UNKNOWN
Unknown error.
Definition: status.h:40
GRPC_STATUS_UNAUTHENTICATED
@ GRPC_STATUS_UNAUTHENTICATED
The request does not have valid authentication credentials for the operation.
Definition: status.h:72
GRPC_STATUS_OK
@ GRPC_STATUS_OK
Not an error; returned on success.
Definition: status.h:30
port_platform.h