error-drawings
v1.0.5
Published
Summarized error messages displayed with fun drawings
Downloads
9
Maintainers
Readme
Fun and clear error-messages
npm install error-drawings
Get a picture of what the script does:
npm run test
ECMAScript Modules
Use the error object "e" as parameter in "errorDrawing(e)"
import errorDrawing from "./node_modules/error-drawings/src/errorDrawing";
async function myExample(){
try{
myfunctionThatWillReturnError()
} catch(e){
errorDrawing(e)
}
}
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