Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

feat: added error codes, more focus on domain errors

Sander 721 requested to merge feature/uba-999-error-codes-SKA into develop/sprint25

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

Merge request reports

Loading