Method CompilerEnvironment()->CPP()->format_exception()
- Method
format_exception
stringformat_exception(mixederr)- Description
Format an exception caught by cpp as a suitable cpp error message.
- Parameter
err Caught value.
- Returns
Returns one of:
zeroGenerate a cpp error using the default format (ie call
master()->describe_error(), and replace any newlines with spaces).stringCpp error message to report(). The empty string supresses the cpp error.
The default implementation just returns
0.