Class: Ea::Cli::UnsupportedFormat

Inherits:
Error
  • Object
show all
Defined in:
lib/ea/cli/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(path, detail = nil) ⇒ UnsupportedFormat

Returns a new instance of UnsupportedFormat.



14
15
16
17
18
# File 'lib/ea/cli/error.rb', line 14

def initialize(path, detail = nil)
  msg = "Unsupported format for file: #{path}"
  msg = "#{msg} (#{detail})" if detail
  super(msg)
end