生成器TypeScriptChangelogApril 14, 20250.51.0 (feat): 在 JavaScript 错误中添加 rawResponse 属性。 try { const fooBar = await client.foo.bar("id", options);} catch (e) { if (error instanceof FooError) { console.log(error.rawResponse); } else { // ... }}
April 14, 20250.51.0 (feat): 在 JavaScript 错误中添加 rawResponse 属性。 try { const fooBar = await client.foo.bar("id", options);} catch (e) { if (error instanceof FooError) { console.log(error.rawResponse); } else { // ... }}