Skip to content

Commit 163b1c1

Browse files
authored
Merge pull request #53 from markokajzer/patch-1
docs: clarify exception class
2 parents 24a3718 + 533c234 commit 163b1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Prop.configure(:mails_per_hour, threshold: 0, interval: 1.hour, description: "Al
4343
```
4444

4545
```ruby
46-
# Throws Prop::RateLimitExceededError if the threshold/interval has been reached
46+
# Throws Prop::RateLimited if the threshold/interval has been reached
4747
Prop.throttle!(:mails_per_hour)
4848

4949
# Prop can be used to guard a block of code

0 commit comments

Comments
 (0)