this should be in the error constructor

```js
error =  new Error('builtin _stats function requires map values to be numbers');
error.name = 'invalid_value';
error.status = 500;
```