Skip to content

overhaul exception handling #307

Description

@stchang

Jotting down some notes from discussion with @gamburgm

RacketScript runtime throws exceptions in different ways right now:

Ideally, RS would have one unified api for errors, and use it consistently everywhere.

One complicating factor is that different parts of Racket itself doesnt respect abstractions sometimes:

  • sometimes the high level API is used, e.g., error or raise-arguments-error
  • other times, low level constructs are used, e.g., raise <exn struct>

So any solution would need to be handle both scenarios above

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions