Exception: Octopi::FormatError

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

Instance Method Summary collapse

Constructor Details

#initialize(f) ⇒ FormatError

Returns a new instance of FormatError.



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

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