EngineHub / EngineHub/CommandHelper

Provide `nocatch` keyword

Open
#1,334 4 comments 0 reactions 0 assignees View on GitHub
feature request good first issue
Dominant language
Java
Stars
128
Forks
70
PR merge metrics
No merged PRs in 30d

Description

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

```java
nocatch {
_codeThatThrowsAnException();
}
```

is compiled to

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.