pub fn unsupported_error_message(
requested: i32,
broker_label: &str,
supported_labels: &[&'static str],
) -> StringExpand description
把 Unsupported 变 user-friendly error message (PII-free, 不暴露内部 实现细节 / 私仓源码路径 / 发版引用)
codex round 1 F3 (P2) v1.4.105: 之前 message 含 APIServer_Trd_GetFunds.cpp ::CheckCurrencyValid C++ 私仓引用 + see CHANGELOG v1.4.105 release-process
hint, 这俩不应进 user-facing public surface (/api/funds / MCP / CLI). 改成
只保留 broker / requested currency / supported list — 用户能看懂 + ops 能
debug 即可. C++ 对齐证据保留在本 helper 上方代码注释.