DEV Community

Discussion on: Proxymise Your Async Code

Collapse
 
kayis profile image
K • Edited
try {
  const {id} = await newFetch("example.com").json().record;
}
catch(e) {
  console.log(e.message);
}