---
agentTools:
  projectIndex: https://nativescript-batch.readme.io/llms.txt
---

# ignoreErrors

Ignores errors of that operation.

[block:code]
{
  "codes": [
    {
      "code": "import Batch = require(\"nativescript-batch\");\n\nvar b = Batch.newBatch(function(ctx) {\n    throw \"This is an error!\";\n}).ignoreErrors();\n\n// nothing happens\nb.start();\n\nb.ignoreErrors(false);\n\n// will throw error\nb.start();",
      "language": "javascript"
    }
  ]
}
[/block]