Skip to content

Enable easy modeling of errors using unions #209

Open
@kaqqao

Description

@kaqqao

A popular use for unions is to model errors, as this talk exemplifies nicely. SPQR should have an easy way to enable this.

An approach could be to map (chosen) exceptions declared by a resolver method as union members, in addition to the return type.

As always, it must be reasonably easy to extend by the user.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions