module documentation
Undocumented
| Function | grpc |
Undocumented |
| Function | pb2 |
Undocumented |
| Function | pb2 |
Extract namespace-local service errors from a direct rich status. |
| Function | pbrpc |
Undocumented |
| Function | to |
Undocumented |
| Function | trailing |
Undocumented |
| Type Alias | |
Undocumented |
| Class | _ |
Undocumented |
| Function | _rich |
Undocumented |
| Function | _status |
Undocumented |
| Constant | _STATUS |
Undocumented |
def grpc_status_of_errors(code:
int, message: str, errors: ServiceErrorPb | Iterable[ ServiceErrorPb]) -> Status:
(source)
¶
Undocumented
def pb2_from_status(status:
StatusPb, remove_from_details: bool = False) -> list[ ServiceErrorPb]:
(source)
¶
Extract namespace-local service errors from a direct rich status.
def pbrpc_status_of_errors(code:
int, message: str, errors: ServiceErrorPb | Iterable[ ServiceErrorPb]) -> StatusPb:
(source)
¶
Undocumented
def trailing_metadata_of_errors(errors:
ServiceErrorPb | Iterable[ ServiceErrorPb], status_code: int = 1, status_message: str = '') -> Metadata:
(source)
¶
Undocumented