Steven Vachon

Results 327 comments of Steven Vachon

Perhaps rename `msg` to `prefix` and add a `suffix`?

```js export default class ValidationError extends Error { constructor(invalidations) { super('Invalid input'); this.invalidations = invalidations; this.name = 'ValidationError'; } } ``` ```js try { throw new ValidationError(['message']); } catch(error) {...

I can write a PR for this, if you'd like; taking my tests from https://github.com/stevenvachon/auto-tunnel The API would need to be changed to: ```js got('todomvc.com', { agent: caw('http://todomvc.com') }, ()...

`tunnel-agent`'s options are weirdly inconsistent: `headers`, `proxyAuth`.

[cpy](https://npmjs.com/cpy) and its underlying [cp-file](https://npmjs.com/cp-file) both do this.

[cpy](https://npmjs.com/cpy) and its underlying [cp-file](https://npmjs.com/cp-file) both do this.