Sha256: d10d702803543ecb7ecdbc5b5a9b35a32249a18d3069592ede2f2bb7665172f5
Contents?: true
Size: 775 Bytes
Versions: 64
Compression:
Stored size: 775 Bytes
Contents
--- layout: page title: ::Exception parent: API Reference permalink: /api-reference/exception/ --- # ::Exception [Ruby core Exception documentation](https://ruby-doc.org/core-2.7.0/Exception.html) 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
64 entries across 64 versions & 1 rubygems