mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
fix: Restricting operation on redacted customer (#289)
This commit is contained in:
@ -60,6 +60,8 @@ pub enum StorageError {
|
||||
SerializationFailed,
|
||||
#[error("MockDb error")]
|
||||
MockDbError,
|
||||
#[error("Customer with this id is Redacted")]
|
||||
CustomerRedacted,
|
||||
}
|
||||
|
||||
impl From<error_stack::Report<storage_errors::DatabaseError>> for StorageError {
|
||||
|
||||
Reference in New Issue
Block a user