0681仕様書無しさん
2022/04/14(木) 14:48:14.62doHoge(await getFuga())
↓
let fuga = null
try {
fuga = await getFuga()
console.debug(fuga.id)
}
catch(e) {
if (e instanceof Xxx) console.error("このエラーの原因はたぶんアレだ。設定を確認してね")
if (e instanceof Yyy) console.error("プギャー")
throw e
}
doHoge(fuga)