Sha256: cdad0ecc064b7e42b4734a57dc0bdde2f94d6a3e4657e369f1c29a0ec6296d28

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

module Octopi

  class FormatError < StandardError
   def initialize(f)
     $stderr.puts "Got unexpected format (got #{f.first} for #{f.last})"
   end
  end 

  class APIError < StandardError
   def initialize(m)
     $stderr.puts m 
   end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fcoury-octopi-0.0.6 lib/octopi/error.rb
fcoury-octopi-0.0.7 lib/octopi/error.rb