Exception: EvolutionApi::RateLimitError

Inherits:
Error
  • Object
show all
Defined in:
lib/evolution_api/errors.rb

Overview

Erro de rate limit

Instance Attribute Summary

Attributes inherited from Error

#error_code, #response, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Limite de requisições excedido', response = nil) ⇒ RateLimitError

Returns a new instance of RateLimitError.



49
50
51
# File 'lib/evolution_api/errors.rb', line 49

def initialize(message = 'Limite de requisições excedido', response = nil)
  super(message, response, 429)
end