Error.Str

OpenTuring

Error.StrPart of Error module

Syntax   Error.Str (errorCode : int): string

Description   Error.Str is a function that returns the error message related to a specified error code. If the error code is eNoError or if there is no such error code, it returns the empty string. If there is such an error, it returns the textual message associated with that error.

Example   This program prints out the string "eFsysFileNotFound".

        put Error.Str (eFsysFileNotFound)

Status   Exported qualified.

This means that you can only call the function by calling Error.Str, not by calling Str.