commit
b7df276eec
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ this.throw('name required', 400)
|
||||||
this.throw('something exploded')
|
this.throw('something exploded')
|
||||||
```
|
```
|
||||||
|
|
||||||
For example `this.throw('name required', 400)` is requivalent to:
|
For example `this.throw('name required', 400)` is equivalent to:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var err = new Error('name required');
|
var err = new Error('name required');
|
||||||
|
|
Loading…
Reference in a new issue