#exception-handling

[ follow ]
Alvinalexander
6 days ago
Scala

Scala: ZIO 2: Getting the actual exception when using ZIO.attempt

Use refineToOrDie in Scala ZIO 2 to display the specific exception type instead of just Throwable when using ZIO.attempt. [ more ]
Pycoders
3 weeks ago
Python

PyCoder's Weekly | Issue #626

Handling CTRL-C interrupts elegantly in Python can be complex when dealing with concurrent code. [ more ]
Realpython
1 month ago
Python

Using raise for Effective Exceptions - Real Python

Learning how to effectively raise exceptions in Python is crucial for handling errors and developing robust programs. [ more ]
[ Load more ]