Package Exports
- error-drawings
Readme
Fun and clear error-messages
npm install error-drawingsGet a picture of what the script does:
npm run testECMAScript Modules
Use the error object "e" as parameter in "errorDrawing(e)"
import errorDrawing from 'error-drawings';
async function myExample(){
try {
// code that may throw an error
} catch (err) {
errorDrawing(err);
throw err; // re-throw if you want the error to bubble up further
}
}
Expected output:

We are looking for contributors
Upcoming features:
- Saving the full error object in a convinient file in an error-folder
- Outputed tips and tricks of how to solve the error
- More fun images