GetLastErrorTime()

// in class: Session
function GetLastErrorTime(): Date;

This function returns the timestamp of the last command that was issued by the client and caused an error in the server, as a JavaScript Date object.

Example

{
  var lerrt = Session.GetLastErrorTime();
  Log(lerrt.toString()); // Will log something like `Sat Mar 18 2023 06:12:38 GMT-0700`
}