parent
b5995c5175
commit
ef4c9a3306
3 changed files with 6 additions and 2 deletions
|
@ -355,6 +355,10 @@ module OSM
|
|||
|
||||
# Raised when a rate limit is exceeded
|
||||
class APIRateLimitExceeded < APIError
|
||||
def initialize
|
||||
super "Rate limit exceeded"
|
||||
end
|
||||
|
||||
def status
|
||||
:too_many_requests
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue