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

Version Path
polyphony-0.99 docs/api-reference/exception.md
polyphony-0.98 docs/api-reference/exception.md
polyphony-0.97 docs/api-reference/exception.md
polyphony-0.96 docs/api-reference/exception.md
polyphony-0.95 docs/api-reference/exception.md
polyphony-0.94 docs/api-reference/exception.md
polyphony-0.93 docs/api-reference/exception.md
polyphony-0.92 docs/api-reference/exception.md
polyphony-0.91 docs/api-reference/exception.md
polyphony-0.90 docs/api-reference/exception.md
polyphony-0.89 docs/api-reference/exception.md
polyphony-0.87 docs/api-reference/exception.md
polyphony-0.86 docs/api-reference/exception.md
polyphony-0.85 docs/api-reference/exception.md
polyphony-0.84.1 docs/api-reference/exception.md
polyphony-0.84 docs/api-reference/exception.md
polyphony-0.83 docs/api-reference/exception.md
polyphony-0.82 docs/api-reference/exception.md
polyphony-0.81.1 docs/api-reference/exception.md
polyphony-0.81 docs/api-reference/exception.md