Exception: Dramatis::Error::Uncaught
- Inherits:
-
Dramatis::Error
- Object
- StandardError
- Dramatis::Error
- Dramatis::Error::Uncaught
- Defined in:
- lib/dramatis/error/uncaught.rb
Overview
Exception raised when the runtime exits with uncaught exceptions.
Instance Method Summary collapse
-
#initialize(exceptions) ⇒ Uncaught
constructor
:nodoc:.
-
#to_s ⇒ Object
call-seq: to_s -> string.
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_s ⇒ Object
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 |