/usr/lib/ruby/vendor_ruby/octocatalog-diff/errors.rb is in octocatalog-diff 1.5.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # frozen_string_literal: true
module OctocatalogDiff
# Contains error classes raised by this gem
class Errors
# Error classes for handled configuration file errors
class ConfigurationFileNotFoundError < RuntimeError; end
class ConfigurationFileContentError < RuntimeError; end
# Error classes for building catalogs
class BootstrapError < RuntimeError; end
class CatalogError < RuntimeError; end
class PuppetVersionError < RuntimeError; end
class GitCheckoutError < RuntimeError; end
# Error classes for retrieving facts
class FactSourceError < RuntimeError; end
class FactRetrievalError < RuntimeError; end
# Errors for PuppetDB
class PuppetDBNodeNotFoundError < RuntimeError; end
class PuppetDBGenericError < RuntimeError; end
class PuppetDBConnectionError < RuntimeError; end
# Errors for Puppet Enterprise
class PEClassificationError < RuntimeError; end
# Miscellanous catalog-diff errors
class DifferError < RuntimeError; end
class PrinterError < RuntimeError; end
end
end
|