Exception: MailerLite::TooManyRequests

Inherits:
Error
  • Object
show all
Defined in:
lib/mailerlite/error.rb

Overview

Raised when MailerLite returns a 429 HTTP status code

Instance Method Summary collapse

Methods inherited from Error

error_class, error_message, from_response, #initialize

Constructor Details

This class inherits a constructor from MailerLite::Error

Instance Method Details

#to_sObject

Default error message.



83
84
85
# File 'lib/mailerlite/error.rb', line 83

def to_s
  @message || 'Too Many Requests'
end