Skip to content

[HLT] Bespoke error handling for missing or bad CTP ROBFragment

Add dedicated failure modes for online HLT framework for the case of missing or bad CTP fragment.

Detailed changes:

  • Add two new exceptions in the hltonl::Exception namespace
  • Add two new codes in the HLT::OnlineErrorCode enum
  • Throw the new exceptions and flag the issue with the new enum values when the CTP fragment is missing or bad. Either problem now results in the event being sent to the debug stream, and the event loop continuing to the next event.
  • Add an extra check for bad fragment - check not only the status code, but also the data integrity
  • Clean up the exception definitions in the hltonl::Exception namespace - remove explicit default constructors/destructors (prefer implicit -> "rule of zero")

Jira: ATR-25217

FYI @wiedenma

Merge request reports