Skip to content

Banking Kata - Refactoring exceptions based on the domain model #5

@valentinajemuovic

Description

@valentinajemuovic

Discussed in #3

Originally posted by trmalek May 5, 2022

  • For the exceptions part I see that we have a repositoryException. It is technical word in domain and it is worth nothing we must explain the exceptions by model domain and be close to the business lexicon (ubiquitous language). For example, we can have an accountException class and methods inside that express the different exceptions related to Account and so on...

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions