Diagnostics.GetLastErrorMessages() Method

Top 

Description

Reports any error messages suppressed using a Try command since this method was previously called. These messages will be cleared from the list of recent error messages, but will not be removed from the Diagnostics.ErrorMessages StringArray. Error messages will consist of the error message and the line number where it occurred.

 

The text of FreeFlyer error messages can change between versions of FreeFlyer, so it is recommended to not build logic around the contents of these messages.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Diagnostics.GetLastErrorMessages(

)

 

 

Return Value

Type:

Array of string

 

 

Returns a StringArray containing any Error Messages suppressed by a Try command which have not yet been queried.

 

Syntax

myStringArray1 = Diagnostics.GetLastErrorMessages();

 

 

See also

Diagnostics Object