Exception: ResourceMissingError

Inherits:
ArgumentError
  • Object
show all
Defined in:
exceptions.rb

Overview

Raised when a resource is missing.

Instance Method Summary collapse

Constructor Details

#initialize(formula, resource) ⇒ ResourceMissingError

Returns a new instance of ResourceMissingError.



679
680
681
# File 'exceptions.rb', line 679

def initialize(formula, resource)
  super "#{formula.full_name} does not define resource #{resource.inspect}"
end