ftos.context.response.getExceptionMessage

Extracts the exception message from a thrown error while ensuring cross-engine compatibility between different JavaScript runtimes such as Jint, JintV3, and V8.

Syntax

Copy
ftos.context.response.getExceptionMessage(exception: any): string
 
Parameter Description
exception The thrown exception object from which to extract the message.

Return Value

Returns the extracted error message as a string.

Example