mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
refactor(drainer): change logic for trimming the stream and refactor for modularity (#3128)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -11,6 +11,8 @@ pub enum DrainerError {
|
||||
ConfigurationError(config::ConfigError),
|
||||
#[error("Error while configuring signals: {0}")]
|
||||
SignalError(String),
|
||||
#[error("Error while parsing data from the stream: {0:?}")]
|
||||
ParsingError(error_stack::Report<common_utils::errors::ParsingError>),
|
||||
#[error("Unexpected error occurred: {0}")]
|
||||
UnexpectedError(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user