We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0403f7 commit d55d6b4Copy full SHA for d55d6b4
crates/batcher/src/types/errors.rs
@@ -66,6 +66,7 @@ pub enum BatcherError {
66
WsSinkEmpty,
67
AddressNotFoundInUserStates(Address),
68
QueueRemoveError(String),
69
+ StateCorruptedAndFlushed(String),
70
}
71
72
impl From<tungstenite::Error> for BatcherError {
@@ -147,6 +148,9 @@ impl fmt::Debug for BatcherError {
147
148
BatcherError::QueueRemoveError(e) => {
149
write!(f, "Error while removing entry from queue: {}", e)
150
151
+ BatcherError::StateCorruptedAndFlushed(reason) => {
152
+ write!(f, "Batcher state was corrupted and flushed: {}", reason)
153
+ }
154
155
156
0 commit comments