Skip to content

Removed many thrown exceptions from core

Raza, Zamaan requested to merge remove_core_exceptions_2 into develop
  • ShapeCollection methods now return std::optional to check for success.
  • Fixed many instances of integrators setting a rejection flag, but not rejecting the peak.
  • Peak3D will no longer throw, instead changing state to selected = false, with a RejectionFlag
  • IntegrationRegion will no longer throw, but can become invalid, to be discarded at a later stage

Addresses (but not completely) #257 (closed)

Merge request reports