Exception: Octopi::FormatError
- Inherits:
-
StandardError
- Object
- StandardError
- Octopi::FormatError
- Defined in:
- lib/octopi/error.rb
Instance Method Summary collapse
-
#initialize(f) ⇒ FormatError
constructor
A new instance of FormatError.
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 |