TypeScriptPromise/asynctry/catch async

try/catch asyncPromise/async

async/await에서 오류를 처리합니다.

문법

try { await fn(); } catch (e) { }