Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crates/hotfix/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ pub enum MessageVerificationError {
comp_id_type: CompIdType,
msg_seq_num: u64,
},
/// The sending time is not within the latency threshold.
#[error("sending time accuracy issue")]
SendingTimeAccuracyIssue { msg_seq_num: u64 },
/// The sending time field is missing from the message.
#[error("sending time missing")]
SendingTimeMissing { msg_seq_num: u64 },
/// Original sending time is not provided despite PossDupFlag being set.
#[error("original sending time missing")]
OriginalSendingTimeMissing { msg_seq_num: u64 },
Expand Down
1 change: 1 addition & 0 deletions crates/hotfix/src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub mod reject;
pub mod resend_request;
pub mod sequence_reset;
pub mod test_request;
pub mod verification;

pub use parser::RawFixMessage;

Expand Down
Loading