platformErrorOf
function platformErrorOf(body, status): { code: string; detail?: Record<string, number>; message: string;};网关错误信封 → 稳定码 + 人话(工具 gatewayError 同形;serve 透传径同用)
unknown
status
Section titled “status”number
{ code: string; detail?: Record<string, number>; message: string;}code: string;detail?
Section titled “detail?”optional detail?: Record<string, number>;message
Section titled “message”message: string;本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。