Skip to main content

context

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

Signature

def context(self, context: impl Into<String>) -> Result<T>

Parameters

context
impl Into<String>
required
No description available.

Returns

Returns
Result<T>
The result of the operation.