feat: added error codes, more focus on domain errors
Concept: domain errors for domain specific failures. Back-end errors for technical issues. Note that Mesap Framework returns both, since it it not just an ORM, but also contains domain logic.
Messagebox: 'Title' should be short, with no dynamic text (else it won't fit). 'Body' can contain the code, title and description.
UI: Use the predefined domain error codes (e.g. TimeSeriesViewErrors.NoTimeRuleSettingsFor). They are reusable and this way, we build an overview of the errors our domain can handle. Extend where necessary. Try to minimize the use of Error.Failure() in the UI .
Edited by Sander 721