Skip to content

Commit 3f97c0b

Browse files
authored
refactor: break message verification handling out into free function (#324)
* Better organise verification failures to make it easier to route based on variant * Rename MessageVerificationError to MessageError for brevity * Add handle_verification_issue to ActiveState * Add handle_verification_issue to AwaitingResend state * Add handle_verification_issue to AwaitingLogout and AwaitingLogon state * Move handle_verification_failure out of session
1 parent 1aaf9d8 commit 3f97c0b

11 files changed

Lines changed: 561 additions & 342 deletions

File tree

crates/hotfix/src/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub mod resend_request;
1717
pub mod sequence_reset;
1818
pub mod test_request;
1919
pub mod verification;
20-
pub mod verification_error;
20+
pub mod verification_issue;
2121

2222
pub use parser::RawFixMessage;
2323
pub use resend_request::ResendRequest;

0 commit comments

Comments
 (0)