You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...the way Commandant is set up makes it kind of painful where every error needs to be the same type so I avoided doing anything drastic, but I think with enough effort one could make a generic wrapper error and each command could have its own error which coalesces into the generic wrapper automatically, satisfying logical soundness and type constraints.
Each command instance should have its own specialized error type which is transformed into the generic wrapper to satisfy the error type constraint on the actual main running instance.
The text was updated successfully, but these errors were encountered:
rpwachowski
changed the title
Expand the error type interfaces for commands to enable coalesced commands from command interfaces
Expand the error type interfaces for commands to enable coalesced errors from command interfaces
Oct 20, 2020
Following a conversation on #8:
Each command instance should have its own specialized error type which is transformed into the generic wrapper to satisfy the error type constraint on the actual main running instance.
The text was updated successfully, but these errors were encountered: