Please enable JavaScript to view this site.

QPR Knowledge Base 2023.1

  •      
  • Navigation: Developer's Guide > QPR API > The Object Model > QPR Metrics > SCApplication Commands

    GetErrorMessage

    Scroll Prev Top Next More

    Revision history:

    Introduced in QPR 7.2.1

     

    Returns error message of Errorcode, 'Unknown error' if viErrorcode is not returned by any script function

     

    Synopsis:

     

    SCApplication.GetErrorMessage(viErrorCode)

     

    Parameters:

     

    viErrorcode: Integer, a code returned by any previously executed script function

     

    Required Rights:

     

    None

     

    Return Values:

    Below are listed the return values that this function can return:

     

    Error description (string).

     

    Example Procedure:

     

    Message = SCApplication.GetErrorMessage(iRetCode)