C# Class Rakudo.Runtime.Exceptions.Handler

Represents an exception handler.
Show file Open project: jnthn/6model

Public Properties

Property Type Description
HandleBlock Rakudo.Metamodel.RakudoObject
Type int

Public Methods

Method Description
Handler ( int Type, RakudoObject HandleBlock ) : System

Set up a handler of the given type and with the given block as the handler to run.

Method Details

Handler() public method

Set up a handler of the given type and with the given block as the handler to run.
public Handler ( int Type, RakudoObject HandleBlock ) : System
Type int
HandleBlock Rakudo.Metamodel.RakudoObject
return System

Property Details

HandleBlock public property

Something invokable that will handle the exception.
public RakudoObject,Rakudo.Metamodel HandleBlock
return Rakudo.Metamodel.RakudoObject

Type public property

The type of exception that the handler accepts.
public int Type
return int