AgentToolException constructor
const
AgentToolException(
- AgentToolErrorCode code,
- String message, {
- String? argument,
- int? step,
- String? auditReason,
- AgentScopeGate? gate,
Implementation
const AgentToolException(
this.code,
this.message, {
this.argument,
this.step,
String? auditReason,
AgentScopeGate? gate,
}) : _auditReason = auditReason,
_gate = gate;