With Context • Rust AI Agent SDK
with_context: Add context to an error
with_context
Method
</div>
Add context to an error
Signature
def with_context(self, context: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.