Checks for errors in JS.
builder = docbuilder.CDocBuilder() context = builder.GetContext() bError = context.IsError()