Exception: Npmdc::Errors::JsonParseError

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

Instance Attribute Summary

Attributes inherited from Error

#options

Instance Method Summary collapse

Methods inherited from CheckerError

critical?

Methods inherited from Error

#initialize

Constructor Details

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

Instance Method Details



66
67
68
69
# File 'lib/npmdc/errors.rb', line 66

def banner
  path = options.fetch(:path)
  "Can't parse JSON file #{path}"
end