SlicerRt / SlicerRT

Open-source toolkit for radiation therapy research, an extension of 3D Slicer. Features include DICOM-RT import/export, dose volume histogram, dose accumulation, external beam planning (TPS), structure comparison and morphology, isodose line/surface generation, etc.
https://slicerrt.org
128 stars 60 forks source link

Consolidate error handling method in logic classes #26

Open cpinter opened 7 years ago

cpinter commented 7 years ago

There are several ways to handle errors right now in the code:

It would be better to set a convention for this, e.g.: Return bool success flags in every class, and have a string error message argument if it is needed to be displayed on the GUI.

Migrated from https://app.assembla.com/spaces/slicerrt/tickets/426-consolidate-error-handling-method-in-logic-classes/details