Rather than just returning "Error" it may be more helpful for debugging to pass along the error object

```javascript
result.error = e;
```

or

```javascript
result.error = JSON.stringify(e)
```