Replace entity error messages by corresponding exception objects
Created by: Florian Spreckelsen
Right now, some (after #32 (closed), all) TransactionErrors
have a get_errors()
member function that returns (a list of) the causing EntityErrors
. The get_errors()
function of Entity objects however essentially returns the XML error messages that are evaluated and translated into the corresponding exceptions when errors are raised. This evaluation could already be done during parsing of the XML and the exception objects could be attached to the entities instead of the original messages.
Imported comments:
By Timm Fitschen on 2021-02-10T12:08:02.106Z
On Hold discussion pending