mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	refactor(scheduler): move scheduler to new crate to support workflows in multiple crates (#1681)
This commit is contained in:
		| @ -102,16 +102,20 @@ impl EmailClient for AwsSes { | ||||
|     } | ||||
| } | ||||
|  | ||||
| #[allow(missing_docs)] | ||||
| /// Errors that could occur from EmailClient. | ||||
| #[derive(Debug, thiserror::Error)] | ||||
| pub enum EmailError { | ||||
|     /// An error occurred when building email client. | ||||
|     #[error("Error building email client")] | ||||
|     ClientBuildingFailure, | ||||
|  | ||||
|     /// An error occurred when sending email | ||||
|     #[error("Error sending email to recipient")] | ||||
|     EmailSendingFailure, | ||||
|     #[error("Failed to generate email token")] | ||||
|     TokenGenerationFailure, | ||||
|     #[error("Feature not implemented")] | ||||
|     NotImplemented, | ||||
| } | ||||
|  | ||||
| /// Errors that could occur during SES operations. | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jagan
					Jagan