ansys / pysherlock

Pythonic interface to Sherlock
https://sherlock.docs.pyansys.com
MIT License
7 stars 0 forks source link

Refactor error classes #330

Open ansjmoody opened 3 months ago

ansjmoody commented 3 months ago

There are basically two types of error classes - one that has a single error and one that has multiple errors. The classes can be refactored in a way that reduces the code. It would also be helpful to provide a simple way to convert the one with multiple errors to a string.

It might also be nice to remove the "Sherlock" prefix from the error class names.