Exception: FormulaClassUnavailableError Private

Inherits:
FormulaUnavailableError show all
Includes:
FormulaClassUnavailableErrorModule
Defined in:
exceptions.rb

Overview

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

Raised when a formula does not contain a formula class.

Instance Attribute Summary

Attributes included from FormulaClassUnavailableErrorModule

#class_list, #class_name, #path

Attributes inherited from FormulaUnavailableError

#dependent

Attributes inherited from FormulaOrCaskUnavailableError

#name

Instance Method Summary collapse

Methods inherited from FormulaUnavailableError

#dependent_s

Methods inherited from FormulaOrCaskUnavailableError

#did_you_mean

Constructor Details

#initialize(name, path, class_name, class_list) ⇒ FormulaClassUnavailableError

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 a new instance of FormulaClassUnavailableError.



190
191
192
193
194
195
# File 'exceptions.rb', line 190

def initialize(name, path, class_name, class_list)
  @path = path
  @class_name = class_name
  @class_list = class_list
  super name
end