Skip to content

Commit 533c234

Browse files
authored
docs: clarify exception class
1 parent 24a3718 commit 533c234

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)