StefanSchade / TaleForge

Text Adventure Logic Engine - A plattform to create immersive games without coding
0 stars 0 forks source link

Introduce a consistent error management #7

Open StefanSchade opened 6 months ago

StefanSchade commented 6 months ago

Error Handling Improvements

Use Result More Extensively:

While you are using Result in many places, it's good practice to use it wherever something could fail, not just where it currently might. This helps prepare your codebase for future expansions and changes.

Detailed Error Types:

Consider defining more specific error types rather than using String for errors. This can provide more context for errors and make it easier to handle them differently based on their type.