Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

318 B
Raw Blame
import { ActivepiecesError, ErrorCode, SandboxExecutionTimeoutParams } from '@activepieces/core-utils'

export function isSandboxTimeout(e: unknown): e is ActivepiecesError & { error: SandboxExecutionTimeoutParams } {
    return e instanceof ActivepiecesError && e.error.code === ErrorCode.SANDBOX_EXECUTION_TIMEOUT
}