Isn't this supposed to be `var format = require('format-error').format;`?

Furthermore, is this the way that you expect people to use it normally, or would you prefer them to just use the `patchError` method.