Skip to content

Commit 9c1a9ac

Browse files
committed
Changed exceptions to reference ex in a few places in README.
1 parent 242ef89 commit 9c1a9ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ _return_
564564
| Options | Options object |
565565
566566
##Guard
567-
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.
567+
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.
568568
569569
###### protectAgainstBurst
570570
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.
@@ -587,7 +587,7 @@ _return_
587587
| Guard | The guard |
588588
589589
```javascript
590-
exceptions.handler.guard(new ex.Guard()
590+
ex.handler.guard(new ex.Guard()
591591
.protectAgainstBurst({
592592
count: 10,
593593
seconds: 2,

0 commit comments

Comments
 (0)