logoalt Hacker News

drysinetoday at 8:20 AM1 replyview on HN

> like Rust

Where people use things like anyhow.[0]

[0] https://docs.rs/anyhow/latest/anyhow/


Replies

Expurpletoday at 9:39 AM

Anyhow erases the type of the error, but still indicates the possibility of some error and forces you to handle it. Functionality-wise, it's very similar to `throws Exception` in Java. Read my post