Module: FormulaUnreadableErrorModule Private

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.



198
199
200
# File 'exceptions.rb', line 198

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:



201
202
203
# File 'exceptions.rb', line 201

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