Exception: Omnibus::LicensingError
- Defined in:
- lib/omnibus/exceptions.rb
Instance Method Summary collapse
-
#initialize(errors) ⇒ LicensingError
constructor
A new instance of LicensingError.
- #to_s ⇒ Object
Constructor Details
#initialize(errors) ⇒ LicensingError
Returns a new instance of LicensingError.
340 341 342 |
# File 'lib/omnibus/exceptions.rb', line 340 def initialize(errors) @errors = errors end |
Instance Method Details
#to_s ⇒ Object
344 345 346 347 348 349 350 351 352 |
# 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 |