Exception: BEL::Extension::Format::FormatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bel/extension_format.rb

Overview

FormatError represents an error when the specified format is not supported by the BEL::Extension::Format extension framework.

Constant Summary collapse

FORMAT_ERROR =
%Q{Format "%s" is not supported.}

Instance Method Summary collapse

Constructor Details

#initialize(format) ⇒ FormatError

Returns a new instance of FormatError.



201
202
203
# File 'lib/bel/extension_format.rb', line 201

def initialize(format)
  super(FORMAT_ERROR % format)
end