Exception: Smslist::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/smslist/error.rb

Direct Known Subclasses

NoSenderError, UnauthorizedError

Instance Method Summary collapse

Constructor Details

#initialize(response = nil) ⇒ Error

Returns a new instance of Error.



3
4
5
6
# File 'lib/smslist/error.rb', line 3

def initialize(response = nil)
  @response = response
  super @response
end