Exception: FormulaUnreadableError

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

Overview

Raised when a formula is unreadable.

Instance Attribute Summary

Attributes included from FormulaUnreadableErrorModule

#formula_error

Attributes inherited from FormulaUnavailableError

#dependent

Attributes inherited from FormulaOrCaskUnavailableError

#name

Instance Method Summary collapse

Methods included from FormulaUnreadableErrorModule

#to_s

Methods inherited from FormulaUnavailableError

#dependent_s, #to_s

Methods inherited from FormulaOrCaskUnavailableError

#to_s

Constructor Details

#initialize(name, error) ⇒ FormulaUnreadableError

Returns a new instance of FormulaUnreadableError.



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

def initialize(name, error)
  super(name)
  @formula_error = error
end