Exception: MailerLite::InternalServerError

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

Overview

Raised when MailerLite returns a 500 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.



75
76
77
# File 'lib/mailerlite/error.rb', line 75

def to_s
  @message || 'The server encountered an unexpected condition'
end