Skip to content

guid parse errors can't be caught and handled at runtime #991

@dfields-msft

Description

@dfields-msft

The winrt::guid constructor that accepts a string calls abort() on failure instead of throwing an exception. This precludes the application from handling the error, e.g. to show a message to the user or fall back to default inputs. There is also no try_parse() function, so the guid parsing functionality of the library is limited to strings which are a priori known to be valid GUIDs.

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