Commit 3f97c0b
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 session1 parent 1aaf9d8 commit 3f97c0b
11 files changed
Lines changed: 561 additions & 342 deletions
File tree
- crates/hotfix/src
- message
- session
- state
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments