Skip to content

Commit 9b4ad8a

Browse files
committed
Add changelog
1 parent 62852f1 commit 9b4ad8a

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

ChangeLog.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# ChangeLog
2+
3+
## v1.0.0
4+
5+
### New
6+
7+
- `errorHandler.run(BlockExecutor)` saves you from a `try/catch` block or two
8+
```java
9+
try {
10+
doSomething();
11+
} catch(Exception ex) {
12+
errorHandler.handle(ex);
13+
}
14+
15+
// can now be written as
16+
17+
errorHandler.run(() -> doSomething())
18+
```
19+
20+
### Breaking
21+
22+
- `bindErrorCode` renamed to `bind`
23+
- `bindErrorCodeClass` renamed to `bindClass`
24+
25+
26+
27+
28+

0 commit comments

Comments
 (0)