Is your feature request related to a problem? Please describe.
In case a calculation fails, it is nice to know why without spitting yourself through the output files.
Describe the solution you'd like
It would be nice to have a method (error_message()?) which returns an error message, in the output module in case output.terminated_normally() returns False. Upon success this would just be an empty string, None would also do but not needed.
Describe alternatives you've considered
- Instead of a separate routine this could also be a field in an overloaded
terminated_normally(errmsg: str) routine, but I think that is less clean.
- Using the grepper to spit myself through the output, but that is only a work-around in my opinion.
Is your feature request related to a problem? Please describe.
In case a calculation fails, it is nice to know why without spitting yourself through the output files.
Describe the solution you'd like
It would be nice to have a method (
error_message()?) which returns an error message, in the output module in caseoutput.terminated_normally()returnsFalse. Upon success this would just be an empty string,Nonewould also do but not needed.Describe alternatives you've considered
terminated_normally(errmsg: str)routine, but I think that is less clean.