Exception: Sifterology::SifterError

Inherits:
Exception
  • Object
show all
Defined in:
lib/sifterology/errors.rb

Direct Known Subclasses

InvalidAccount, InvalidToken, SSLRequired

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ SifterError

Returns a new instance of SifterError.



5
6
7
# File 'lib/sifterology/errors.rb', line 5

def initialize(msg=nil)
  @message = msg
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/sifterology/errors.rb', line 9

def to_s
  @message
end