apache / apache/pulsar-client-python
Document for the pulsar.Result enum
未关闭
- 主要语言
- Python
- 星标
- 75
- 派生
- 53
- PR 合并指标
- 30 天内没有已合并 PR
描述
The `pulsar.Result` enum is just imported from the C extension. See https://github.com/apache/pulsar-client-python/blob/daabc677e06e867f84beaeb3912d1d450cddf54d/pulsar/__init__.py#L50
Running `help(pulsar.Result)` could only show the underlying C error codes like
```
|
| AlreadyClosed =
|
| AuthenticationError =
|
| AuthorizationError =
|
| BrokerMetadataError =
|
| BrokerPersistenceError =
```
The error code should be well documented. Otherwise users might not know how to handle these error codes.
For now, users can refer https://github.com/apache/pulsar-client-cpp/blob/main/include/pulsar/Result.h for the meaning of error codes.
贡献指南
评估
这个 Issue 还没有评估数据。