Exception: Athena::Formats::FormatNotFoundError

Inherits:
FormatError
  • Object
show all
Defined in:
lib/athena/formats.rb

Instance Method Summary collapse

Constructor Details

#initialize(direction, format) ⇒ FormatNotFoundError

Returns a new instance of FormatNotFoundError.



424
425
426
# File 'lib/athena/formats.rb', line 424

def initialize(direction, format)
  @direction, @format = direction, format
end

Instance Method Details

#to_sObject



428
429
430
# File 'lib/athena/formats.rb', line 428

def to_s
  "format not found (#{@direction.inspect}): #{@format.inspect}"
end