Skip to content

E2: Exception/Error handling (try-catch statement) #1141

Description

@CaptainPRICE

It would be nice to have something like try-catch statement in E2.

For example:

try {
    error("Test")
} catch (Error:string) {
    print("Exception has been thrown (" + Error + ")!")  # Would print "Exception has been thrown (Test)!"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions