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

6 methods from Object ► show

Instance Methods

Inherited instance methods

1 methods from FilterPattern ► show
43 methods from Pattern ► show
159 methods from AbstractFunction ► show
260 methods from Object ► show

Undocumented instance methods

.embedInStream(inval)

.func

.func = value

Examples