KCML_Exception_Get_Log

Purpose

Get the error message details

Definition

DEFSUB 'KCML_Exception_Get_Log(BYREF type$_KCML_EXCEPTION_LOG), Pool = PoolHandleType::FromInt(0)) AS Bool

Parameters

typeThe string to store the error message details.
PoolOptional. Optional pool to get a debug return stack. Uses 'KCML_Debug_GetReturnStackEx to complete the return stack field in type$

Return

TRUE for success

Description

This function is used to register a string in the TRY part of an exception handler. If an exception is caught then details about the exception are put into this string. For more details, please refer to TRY and CATCH.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.