Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added `tooManyRequests` to documentation.
  • Loading branch information
arb committed Oct 30, 2014
1 parent fbaf0ee commit a7e6ae0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,16 @@ example payload for `Boom.badData('your message');`
}
```

###Boom.tooManyRequests
example payload for `Boom.tooManyRequests('your message');`
```json
{
"statusCode": 429,
"error": "Too Many Requests",
"message": "your message"
}
```

## 5xx Errors

All 5xx errors hide your message from the end user. Your message is recorded in the server log.
Expand Down

0 comments on commit a7e6ae0

Please sign in to comment.