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.



422
423
424
# File 'lib/athena/formats.rb', line 422

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

Instance Method Details

#to_sObject



426
427
428
# File 'lib/athena/formats.rb', line 426

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