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

Version Path
polyphony-0.72 docs/api-reference/exception.md
polyphony-0.71 docs/api-reference/exception.md
polyphony-0.70 docs/api-reference/exception.md
polyphony-0.69 docs/api-reference/exception.md
polyphony-0.68 docs/api-reference/exception.md
polyphony-0.67 docs/api-reference/exception.md
polyphony-0.66 docs/api-reference/exception.md
polyphony-0.65 docs/api-reference/exception.md
polyphony-0.64 docs/api-reference/exception.md
polyphony-0.63 docs/api-reference/exception.md
polyphony-0.62 docs/api-reference/exception.md
polyphony-0.61 docs/api-reference/exception.md
polyphony-0.60 docs/api-reference/exception.md
polyphony-0.59.1 docs/api-reference/exception.md
polyphony-0.59 docs/api-reference/exception.md
polyphony-0.58 docs/api-reference/exception.md
polyphony-0.57.0 docs/api-reference/exception.md
polyphony-0.56.0 docs/api-reference/exception.md
polyphony-0.55.0 docs/api-reference/exception.md
polyphony-0.54.0 docs/api-reference/exception.md