Exception: MailerLite::NotFound

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

Overview

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



67
68
69
# File 'lib/mailerlite/error.rb', line 67

def to_s
  @message || "Can't find requested items"
end