Skip to main content

IsError

Checks for errors in JS. The error message and call stack will be written to std::cerr.

note

For the .docbuilder file the CDocBuilderContext.IsError method is not used.

Syntax

def IsError(self) -> bool

Parameters

COM only

NameTypeDescription
resultVARIANT_BOOL*Specifies whether an error occurs

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
bError = context.IsError()