mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat(constraint_graph): make the constraint graph framework generic and move it into a separate crate (#3071)
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| use euclid::dssa::{graph::GraphError, types::AnalysisErrorType}; | ||||
| use euclid::{dssa::types::AnalysisErrorType, frontend::dir}; | ||||
|  | ||||
| #[derive(Debug, thiserror::Error, serde::Serialize)] | ||||
| #[serde(tag = "type", content = "info", rename_all = "snake_case")] | ||||
| @ -6,7 +6,7 @@ pub enum KgraphError { | ||||
|     #[error("Invalid connector name encountered: '{0}'")] | ||||
|     InvalidConnectorName(String), | ||||
|     #[error("There was an error constructing the graph: {0}")] | ||||
|     GraphConstructionError(GraphError), | ||||
|     GraphConstructionError(hyperswitch_constraint_graph::GraphError<dir::DirValue>), | ||||
|     #[error("There was an error constructing the context")] | ||||
|     ContextConstructionError(AnalysisErrorType), | ||||
|     #[error("there was an unprecedented indexing error")] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shanks
					Shanks