error-drawings

1.0.5 • Public • Published

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 "./node_modules/error-drawings/src/errorDrawing";


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

Package Sidebar

Install

npm i error-drawings

Weekly Downloads

5

Version

1.0.5

License

MIT

Unpacked Size

31.6 kB

Total Files

10

Last publish

Collaborators

  • eriksturesson