ID : 5816
Err.Level
Function
This property contains an error level of task error.
Syntax
Err.Level
Return value
Read the error level of a task error. The error level is an integer type data ranging from 0 and 5.
Description
Store the error level of a task error at the error occurrence.
This command can readout values but cannot write in.
Related Terms
Err.Number, Err.OriginalNumber, Err.Description, Err.Raise, Error handling in PacScript, ERROR CODE
Attention
-
Example
Sub Main
Dim aaa As Integer
On Error GoTo ErrHandler
aaa = aaa / 0
Exit Sub
ErrHandler:
PrintDbg Err.Level
End Sub
ID : 5816