Skip to content

rethrow_error_handler just terminates my program #289

@andreasbuhr

Description

@andreasbuhr

Hi,

maybe I am missing something, but based on the documentation provided, I do not understand how rethrow_error_handler is supposed to be used.

Whenever a parser fails, if_full_parse checks whether the full input was consumed. If not, it executes throw without any arguments. However, throw without any arguments terminates my program: At that time, no exception is handled.

The single throw in

terminates my program, in accordance with the standard https://eel.is/c++draft/expr.throw#3 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions