property NAVHostObject.TemplateError as Long
Indicates the error code of the last Template call.

TypeDescription
Long A long expression that describes the error/exception in the Item/Template call.
By default, the TemplateError property returns 0. The TemplateError / TemplateException property indicates the error/exception that occurred in the Item/Template call. The TemplateThrowError property specifies whether the control fires an exception/error when the Template call fails. The TemplateError / TemplateException gets the error if the Template calls fails.

By default, the control fires an exception/error when the Item/Template call fails like shown in the following screen shot: