ome / omero-py

Python project containing Ice remoting code for OMERO
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
20 stars 33 forks source link

errors: use raise_error from cli plugins #266

Open joshmoore opened 3 years ago

joshmoore commented 3 years ago

Following on from https://github.com/ome/openmicroscopy/pull/6003#issuecomment-712828104 this PR starts the work of registering all error codes previously found in self.ctx.die statements via the self.add_error command, and uses those registered error codes via self.raise_error