Exception: Fuselage::FormatError

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

Instance Method Summary collapse

Constructor Details

#initialize(f) ⇒ FormatError

Returns a new instance of FormatError.



6
7
8
# File 'lib/fuselage/error.rb', line 6

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