class Omnibus::LicensingError

Public Class Methods

new(errors) click to toggle source
# File lib/omnibus/exceptions.rb, line 340
def initialize(errors)
  @errors = errors
end

Public Instance Methods

to_s() click to toggle source
# File lib/omnibus/exceptions.rb, line 344
    def to_s
      <<~EOH
        Encountered error(s) with project's licensing information.
        Failing the build because :fatal_licensing_warnings is set in the configuration.
        Error(s):

            #{@errors.join("\n    ")}
      EOH
    end