Skip to main content

with_context

Method
This is a method of the Error class in the error module.
Add context to an error

Signature

def with_context(self, context: impl Into<String>) -> Self

Parameters

context
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.