openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
3 lines • 698 B
JavaScript
import"./errors-D37BJTfI.mjs";import"./error-diagnostics-BkK6-KHH.mjs";
//!src/plugin-sdk/error-runtime.ts
const SUBAGENT_RUNTIME_REQUEST_SCOPE_ERROR_CODE=`OPENCLAW_SUBAGENT_RUNTIME_REQUEST_SCOPE`;const SUBAGENT_RUNTIME_REQUEST_SCOPE_ERROR_MESSAGE=`Plugin runtime subagent methods are only available during a gateway request.`;var RequestScopedSubagentRuntimeError=class extends Error{constructor(e=SUBAGENT_RUNTIME_REQUEST_SCOPE_ERROR_MESSAGE){super(e);this.code=SUBAGENT_RUNTIME_REQUEST_SCOPE_ERROR_CODE;this.name=`RequestScopedSubagentRuntimeError`}};export{SUBAGENT_RUNTIME_REQUEST_SCOPE_ERROR_CODE as n,SUBAGENT_RUNTIME_REQUEST_SCOPE_ERROR_MESSAGE as r,RequestScopedSubagentRuntimeError as t};