pub fn create_error_message(
message: impl Into<String>,
error_code: ErrorCode,
) -> String
Expand description
Create an error message with troubleshooting link
This function creates a comprehensive error message that includes a link to the troubleshooting guide, similar to LangChain’s approach.
§Arguments
message
- The base error messageerror_code
- The error code for categorization
§Returns
A formatted error message with troubleshooting information