Refactored the code, Success and Failure are now independent types. The NiceTry module now offers three methods: to, success and failure and shoul be imported like "var Try = require('niceTry');".