Exception: Dramatis::Error::Uncaught

Inherits:
Dramatis::Error show all
Defined in:
lib/dramatis/error/uncaught.rb

Overview

Exception raised when the runtime exits with uncaught exceptions.

Instance Method Summary collapse

Constructor Details

#initialize(exceptions) ⇒ Uncaught

:nodoc:



18
19
20
# File 'lib/dramatis/error/uncaught.rb', line 18

def initialize exceptions #:nodoc:
  @exceptions = exceptions
end

Instance Method Details

#to_sObject

call-seq:

to_s -> string

combines the name of all uncaught exceptions.



14
15
16
# File 'lib/dramatis/error/uncaught.rb', line 14

def to_s
  super + ": " + @exceptions.join( " "  )
end