mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	chore: mirror changes from BitBucket
This commit is contained in:
		| @ -66,7 +66,7 @@ macro_rules! router_error_error_stack_specific { | ||||
|  | ||||
| #[derive(Debug, thiserror::Error)] | ||||
| pub enum StorageError { | ||||
|     #[error("DataBaseError: {0}")] | ||||
|     #[error("DatabaseError: {0}")] | ||||
|     DatabaseError(#[from] DatabaseError), | ||||
|  | ||||
|     #[error("ValueNotFound: {0}")] | ||||
| @ -85,6 +85,10 @@ pub enum DatabaseError { | ||||
|     NotFound, | ||||
|     #[error("A unique constraint violation occurred")] | ||||
|     UniqueViolation, | ||||
|     #[error("No fields were provided to be updated")] | ||||
|     NoFieldsToUpdate, | ||||
|     #[error("An error occurred when generating raw SQL query")] | ||||
|     QueryGenerationFailed, | ||||
|     // InsertFailed, | ||||
|     #[error("An unknown error occurred")] | ||||
|     Others, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde