biface / fsm

Another implementation of Finite State Machine and extensions for Django context.
0 stars 1 forks source link

Exception model #1

Open biface opened 4 days ago

biface commented 4 days ago

Build an exception model for finite state machine and automaton and implement it in object classes + update test

biface commented 4 days ago

Hello, I tried to solve the issue.

This is what I did:

Created FSMException class in exception.py, updated core.py to use exceptions, and updated init.py to import new exceptions.

You can review changes in this commit: lattaai12@4a85aab.

Caution

Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Thank you. I am still building the package and the exception model. I quite like your InvalidState exception class name. I'll incorporate these suggestions into the model.