Sha256: 6f8fd2cf49b134a1fe7ecd17c61744c31e64b423792d3c80eca5a5ca32e7cb56
Contents?: true
Size: 918 Bytes
Versions: 29
Compression:
Stored size: 918 Bytes
Contents
--- layout: page title: ::Exception parent: API Reference permalink: /api-reference/exception/ source_url: https://github.com/digital-fabric/polyphony/blob/master/lib/polyphony/extensions/core.rb ruby_docs_url: https://rubyapi.org/3.0/o/exception --- # ::Exception [Ruby core Exception documentation](https://rubyapi.org/3.0/o/exception) The core `Exception` class is enhanced to provide a better backtrace that takes into account the fiber hierarchy. In addition, a `source_fiber` attribute allows tracking the fiber from which an uncaught exception was propagated. ## Class Methods ## Instance methods ### #source_fiber → fiber Returns the fiber in which the exception occurred. Polyphony sets this attribute only for uncaught exceptions. Currently this attribute is only used in a meaningful way for supervising fibers. ### #source_fiber=(fiber) → fiber Sets the fiber in which the exception occurred.
Version data entries
29 entries across 29 versions & 1 rubygems