pub fn sanitize_error_description(error: &ProviderError) -> StringExpand description
Sanitizes provider error descriptions to prevent exposing internal details.
This function creates a safe, user-friendly error description that doesn’t expose sensitive information like API keys, internal URLs, or implementation details. The full error is logged internally for debugging purposes.
§Arguments
error- A reference to the provider error to sanitize
§Returns
Returns a sanitized error description string that is safe to return to clients.