Exception: Athena::Formats::FormatNotFoundError
- Inherits:
-
FormatError
- Object
- StandardError
- FormatError
- Athena::Formats::FormatNotFoundError
- Defined in:
- lib/athena/formats.rb
Instance Method Summary collapse
-
#initialize(direction, format) ⇒ FormatNotFoundError
constructor
A new instance of FormatNotFoundError.
- #to_s ⇒ Object
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_s ⇒ Object
426 427 428 |
# File 'lib/athena/formats.rb', line 426 def to_s "format not found (#{@direction.inspect}): #{@format.inspect}" end |