$LastErrMessage

$LastErrMessage

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$LastErrMessage

The error message generated by the last command that returned an error code.

Syntax

$lasterrmessage

Value

A character string. Can be reset by an application program.

Description

$Null at the beginning of each application session. The value changes only if an error occurs, or if the application program explicitly assigns a value.

When non-$Null, the variable represents, for the current session, the software message generated for the most recently executed command that returned an error code.

See Also

$ErrCode

$ErrLevel

$LastErrLevel

$MaxErrLevel

System Variables

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish