Skip to content

Provide nocatch keyword #1334

Description

@LadyCailin

A nocatch block is a block which may throw an exception, which is ignored (except if scream-errors is on.)

nocatch {
    _codeThatThrowsAnException();
}

is compiled to

try {
    _codeThatThrowsAnException();
} catch(Exception @ex) {
    // Ignored
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew functionality that doesn't exist yetgood first issueWanna take a stab at contributing? Try this one! Should be easier than most.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions