pub fn format_error(error: &DMSCError) -> String
Formats an error with actionable suggestion. This helper function provides enhanced error messages that include suggestions for resolving the issue.