Class Exception
In: lib/core/facets/exception/raised.rb
lib/core/facets/exception/suppress.rb
lib/core/facets/exception/error_print.rb
lib/core/facets/exception/detail.rb
Parent: Object

Methods

Public Class methods

Formats the Exception so that it looks familiar, i.e. exactly like your interpreter does it.

Port of MRI native `error_print` function.

@author Evgeniy Dolzhenko

Does a block raise an a given exception.

Supress errors while executing a block, with execptions.

CREDIT: David Heinemeier Hansson, Thomas Sawyer

Public Instance methods

Pretty string output of exception/error object useful for helpful debug messages.

@author George Moschovitis

Formats the Exception so that it looks familiar, i.e. exactly like your interpreter does it.

@author Evgeniy Dolzhenko

@todo Anyone have a better name for this method?

[Validate]