Skip to content

Expand the error type interfaces for commands to enable coalesced errors from command interfaces #9

Description

@rpwachowski

Following a conversation on #8:

...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.

Metadata

Metadata

Assignees

No one assigned

    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