isl / x3ml

X3ML Engine supports the data transformation which is part of the data provisioning and aggregation process.
Apache License 2.0
19 stars 7 forks source link

Implemetation of Error objects #146

Open ymark opened 2 years ago

ymark commented 2 years ago

In order to enhance the information about error messages, we're about to handle them using Error objects. Error objects will contain different aspects of information about the error that occurred. That object can be thereafter used as we like, e.g. for generating a small narrative intended for humans, constructing a JSON report intended for application, generating an HTML summary, etc.

The purpose of this issue is to draft the original design of such Error objects. The actual messaging and exploitation (e.g. narratives, json objects, etc.) will be discussed in a separate issue.

The indicative contents of the Error Message could be: