error class : ErrorTypeName getter

Description

Gets the type name of the error that have been thrown.

Syntax

errorInstance.ErrorTypeName

Arguments

None

Return value

ClassDescription
stringThe type name of the error that have been thrown.

Sample code

string name = __error.ErrorTypeName;

Notes

You can get one of the following strings.

"InterPreterException"

"VirtualMachineException"

"VirtualMachineNoClassException"

"RtypeException"

"ReplicateException"

"UnknownException"

Links for reference

None

Copyright © Rice All rights reserved.