pub fn api_error( raw_code: i32, endpoint: impl Into<String>, message: impl Into<String>, request_id: Option<String>, ) -> Error
创建API错误