Sha256: 8cbaba90e4f444f196069ef1b1381ae9d53b0c488e9ebc5154783c5b424ac173

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

module Sifterology
  
  class SifterError < Exception
    
    def initialize(msg=nil)
      @message = msg
    end
    
    def to_s
      @message
    end
    
  end
  
  class SSLRequired < SifterError; end
  
  class InvalidToken < SifterError; end
  
  class InvalidAccount < SifterError; end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sifterology-0.1.1 lib/sifterology/errors.rb