Skip to content

Error Handling is Not Flexible #161

@eparis

Description

@eparis

The *OnError mechanism for how to handle errors is insufficient. We now have #160 which wants to ignore unknowns. Using the current error handling options we would need to add IgnoreUnknown to all of the existing OnError types (aka we would need ContinueIgnoreUnknownOnError, ExitIgnoreUnknownOnError, PanicIgnoreUnknonwOnError, etc. Every new 'option' we want to have on Errors will double the number of defines. This is not the best API design.

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