gRPC Status and HTTP Code Relation
本文于 1331 天之前发表,文中内容可能已经过时。
- Status.INVALID_ARGUMENT [400]
- Status.OK [200]
- Status.CANCELLED [408]
- Status.UNKNOWN [500]
- Status.DEADLINE_EXCEEDED [408]
- Status.NOT_FOUND [404]
- Status.ALREADY_EXISTS [409]
- Status.PERMISSION_DENIED [403]
- Status.RESOURCE_EXHAUSTED [403]
- Status.FAILED_PRECONDITION [412]
- Status.ABORTED [409]
- Status.OUT_OF_RANGE [400]
- Status.UNIMPLEMENTED [501]
- Status.INTERNAL [500]
- Status.UNAVAILABLE [503]
- Status.DATA_LOSS [500]
- Status.UNAUTHENTICATED [401]