$LastErrLevel

The error severity level generated by the last command that returned an error severity level.

Syntax

$lasterrlevel

Value

A number (1 to 4). Can be reset by an application program.

Description

The error severity level of the most recently executed command that returned an error severity level other than 0 (success).

Value

Meaning

1

Information message

2

Warning

3

User error

4

System error

 

Related Topics