Exception: Lazy::DivergenceError

Inherits:
Exception show all
Defined in:
lib/core/facets/lazy.rb

Overview

Raised when a demanded computation diverges (e.g. if it tries to directly use its own result)

Direct Known Subclasses

LazyException

Instance Method Summary (collapse)

Methods inherited from Exception

#detail, error_print, #error_print, raised?, #set_message, suppress

Constructor Details

- (DivergenceError) initialize(message = "Computation diverges")

:nodoc:



31
32
33
# File 'lib/core/facets/lazy.rb', line 31

def initialize( message="Computation diverges" )
  super( message )
end