nikolaposa / rate-limit

🚔 General purpose rate limiter implementation.
MIT License
269 stars 47 forks source link

Improve LimitExceeded exception message #38

Closed ManInTheBox closed 3 years ago

ManInTheBox commented 4 years ago

Currently, it has a typo: https://github.com/nikolaposa/rate-limit/blob/68ea4e5e011769bdfa22c68e75b415b012f41ad2/src/Exception/LimitExceeded.php#L20

"Limit of has been exceeded by identifier: $identifier" - should include "rate" as well.

nikolaposa commented 4 years ago

Nice catch, thanks for reporting 👍