Pprotect:
Filter:

Pprotect : FilterPattern : Pattern : AbstractFunction : Object

evaluate a function when an error occured in the thread
Source: Patterns.sc

Class Methods

Pprotect.new(pattern, func)

Arguments:

pattern

any pattern

func

a Function to be evaluated when an error occurs. The error and the thread are passed as arguments to the function.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.func

.func = value

Examples