JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q24823F
  • License MIT

Summarized error messages displayed with fun drawings

Package Exports

  • error-drawings

Readme

Fun and clear error-messages

GitHub package.json version (branch) npm
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 'error-drawings';

async function myExample(){
try{
    myfunctionThatWillReturnError()
} catch(e){
    errorDrawing(e)
    }
}

Expected output:

Visual example

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