Skip to main content

Type Alias: ModularBatchErrorCode

ModularBatchErrorCode = "refused" | "timeout" | "error" | "closed"

Error codes of ModularBatchError.

  • refused: a step was disallowed, for example a protected removal or replacement, unavailable snap, collision, or option target missing its block.
  • timeout: the batch, or the wait before it, ran out of its timeoutMs budget.
  • error: run threw, a step failed unexpectedly, or timeoutMs, camera or history was invalid. Invalid options reject immediately without batch events.
  • closed: no modular product is loaded, or the product or scene went away during the batch. Nothing is restored.