GitXplorerGitXplorer
d

nail-corpse-in-upright-position

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
a583065a9fe31d885373d4f5ba951a9195c98791

Version Bump

ddarthtrevino committed 7 years ago
Unverified
b59aab6bc47449f0e3e0db23d2e527cf3ce68339

Add coverage/ to .npmignore

ddarthtrevino committed 7 years ago
Unverified
25f821c568fc285ee6b323563058dcc457681c38

Version bump

ddarthtrevino committed 7 years ago
Unverified
842c794d689ce68a2c63140a1baf43226f47362d

Replace prepublish and postinstall script with prepare script

ddarthtrevino committed 7 years ago
Unverified
3914e64948d5c737a94bedebe0a8ccc1124e6c4d

Add travis badge

ddarthtrevino committed 7 years ago
Unverified
d27a34ed7f3219dfa0e7183f228d4abadd9ac1e3

Add travis.yml

ddarthtrevino committed 7 years ago

README

The README file for this repository.

Build Status

nail-corpse-in-upright-position

Are exceptions screwing up your production game? Don't let those pesky things affect your error metrics, nail that corpse upright and pretend everything is okay!

Usage:

const nailCorpseInUprightPosition = require('nail-corpse-in-upright-position');

@nailCorpseInUprightPosition()
class DerpyThrowingClass {
  derp() {
    throw new Error('fart'); // Errors no more!
  }
}

Getting rid of stupid logs:

const nailCorpseInUprightPosition = require('nail-corpse-in-upright-position');

@nailCorpseInUprightPosition({liveDangerously: true})
class DerpyThrowingClass {
  derp() {
    throw new Error('fart'); // Errors (and annoying logs) no more!
  }
}

Handling errors (y tho?)

const nailCorpseInUprightPosition = require('nail-corpse-in-upright-position');

@nailCorpseInUprightPosition({errorHandler: (err) => console.log("I CAUGHT", err)})
class DerpyThrowingClass {
  derp() {
    throw new Error('fart'); // Errors (and annoying logs) no more!
  }
}