Skip to content

Commit

Permalink
Changed exceptions to reference ex in a few places in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
steaks committed Feb 24, 2015
1 parent 242ef89 commit 9c1a9ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -564,7 +564,7 @@ _return_
| Options | Options object |
##Guard
Performing exception operations can be expensive or superfluous sometimes. For example, you may not want to take a screenshot of your page if you've hit 10 errors in a row because it could cause noticable performance errors. Specify a guard with exceptions.handler.guard() to disable exception options you do not wish to perform. The guard restricts options for all reported exceptions.
Performing exception operations can be expensive or superfluous sometimes. For example, you may not want to take a screenshot of your page if you've hit 10 errors in a row because it could cause noticable performance errors. Specify a guard with ex.handler.guard() to disable exception options you do not wish to perform. The guard restricts options for all reported exceptions.
###### protectAgainstBurst
Disable Exception options if the exception reported count threshold has been exceeded. See handler.reportedExceptions for more information about how we defined a reported exception.
Expand All @@ -587,7 +587,7 @@ _return_
| Guard | The guard |
```javascript
exceptions.handler.guard(new ex.Guard()
ex.handler.guard(new ex.Guard()
.protectAgainstBurst({
count: 10,
seconds: 2,
Expand Down

0 comments on commit 9c1a9ac

Please sign in to comment.