Exception: Rubylog::InstantiationError
- Inherits:
-
RubylogError
- Object
- StandardError
- RubylogError
- Rubylog::InstantiationError
- Defined in:
- lib/rubylog/errors.rb
Instance Method Summary collapse
-
#initialize(functor, args = nil) ⇒ InstantiationError
constructor
A new instance of InstantiationError.
Methods inherited from RubylogError
Constructor Details
#initialize(functor, args = nil) ⇒ InstantiationError
Returns a new instance of InstantiationError.
31 32 33 34 35 36 37 |
# File 'lib/rubylog/errors.rb', line 31 def initialize functor, args=nil if args super "Instantiation error in #{args[0].inspect}.#{functor}(#{args[1..-1].map{|a|a.rubylog_deep_dereference.inspect}.join(", ")})" else super "Instantiation error in #{functor.inspect}" end end |