Skip to content

Improve exception handling inside libsyclinterface #351

Closed

Description

@diptorupd

Please, do catch(...) finally. Any uncatched exception will break C API interface.

Originally posted by @PokhodenkoSA in #349 (comment)

Related to #35

Activity

  1. changed the title [-]Improve exception handling inside dpctl-capi.[/-] [+]Improve exception handling inside `libsyclinterface`[/+] on Jan 8, 2022
  2. added
    libsyclinterface
    on Jan 8, 2022
  3. diptorupd commented on Oct 11, 2022

    @diptorupd
    ContributorAuthor

    I prefer to treat any uncaught exception as a bug and fix it rather than use the catch(...) functionality. Doing so will allow us to provide more useful error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    libsyclinterface

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions