Skip to content

use yield new Error() instead of throw new Error() #6

@Raynos

Description

@Raynos

the former allows you to pass errors to generator runner without going throw the exception system.

This works cleanly with raynos/gens and Agen spec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions