Class Exception
In: lib/dramatis/error.rb
Parent: Object

Dramatis modifies exceptions thrown within the context of an actor rpc call, combinding the the backtraces generated by native language exceptions in order to put them in a more useful context:

  1. Exceptions are chained across threads using continuation information
  2. Dramatis runtime internal call frames are removed

Methods

backtrace  

Public Instance methods

dramatis wraps and filters the native exception backtrace method in order to augment the backtrace to follow the backtrace through actor rpc calls.

[Source]

    # File lib/dramatis/error.rb, line 39
39:   def backtrace
40:     # p "back #{self}"
41:     if instance_variable_defined? :@_dramatis_raw_backtrace
42:       filter @_dramatis_raw_backtrace
43:     else
44:       _dramatis_backtrace
45:     end
46:   end

[Validate]