Skip to content

CHECK_THROW should return catched exception #83

Open
@JanTvrdik

Description

@JanTvrdik

It would be nice if CHECK_THROW macro returned the catched exception making the following possible

auto ex = CHECK_THROW(parse("0xPQ"), ParserException);
CHECK_EQUAL("syntax error", ex.what());

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