Exception: Npmdc::Errors::UnknownFormatter

Inherits:
ConfigurationError show all
Defined in:
lib/npmdc/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#options

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Npmdc::Errors::Error

Instance Method Details



53
54
55
56
57
# File 'lib/npmdc/errors.rb', line 53

def banner
  formatter = options.fetch(:formatter)

  "Unknown '#{formatter}' formatter"
end