Skip to content
viarotel
Search
K
Main Navigation
Memo
Bookmarks
About
Escrcpy
English
简体中文
English
简体中文
Appearance
Menu
Return to top
On this page
让 await 永远不要抛出错误
javascript
// 这样的话,请求失败也不会抛错
const
result
=
await
request
().
catch
((
e
)
=>
{
return
e;
});
NickName
E-Mail
Website
Preview:
Comments
Latest
Oldest
Hottest
No comment yet.
Powered by
Waline
v3.5.6
Preview: