CoCoA:GetErrMesg

From ApCoCoAWiki

GetErrMesg

returns the message associated with an error

Description

This function returns the error message associated with an error.

Example

  Str := GetErrMesg(1/0);
  PrintLn Str;
Division by zero

-------------------------------

Syntax

GetErrMesg(E:ERROR):STRING

Catch

Error

   <type>error</type>