Module: FormulaUnreadableErrorModule Private

Extended by:
T::Sig
Included in:
FormulaUnreadableError, TapFormulaUnreadableError
Defined in:
exceptions.rb

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Shared methods for formula unreadable errors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#formula_errorObject (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



188
189
190
# File 'exceptions.rb', line 188

def formula_error
  @formula_error
end

Instance Method Details

#to_sString

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



191
192
193
# File 'exceptions.rb', line 191

def to_s
  "#{name}: " + formula_error.to_s
end