Easy error handling with async await and destructuring for promises
$ npm install @gradeup/asde
const asde = require('@gradeup/asde');
const promise = Promise.reject(new Error('Something went wrong'));
const fn = async () => await asde(p);
//=> [{ message: 'Something went wrong' }, null]
Type: Promise
Promise or any thenable to resolve
MIT © Nikhil Srivastava