``pin_required_timeout`` — no PIN supplied (or verified) within the gate window. Subclasses :class:`PermissionError`. Non-retryable.
| 96 | "protocol": ProtocolError, |
| 97 | } |
| 98 | |
| 99 | |
| 100 | def error_code_name(code: int) -> str: |
| 101 | name = pb.ErrorCode.Name(code) |
| 102 | return name.removeprefix("ERROR_CODE_").lower() |
| 103 | |
| 104 | |
| 105 | def map_core_error(info: pb.ErrorInfo) -> CmdopError: |
nothing calls this directly
no outgoing calls
no test coverage detected