Error Handling and Exceptions
- Q134: How do I use try/catch to handle exceptions in EK9?
- Q135: How does try/catch/finally work in EK9?
- Q136: How do I throw exceptions in EK9?
- Q137: How do I manage resources with try-with-resources in EK9?
- Q138: How do I catch specific exception types in EK9?
- Q139: When should I use try/catch vs Result for error handling?
- Q304: What is the require statement and when should I use it?
- Q305: What is the difference between require, assert, and throw?
- Q306: How do I test that code throws an exception in EK9?
- Q307: How do I verify that code does not throw an exception in EK9?
- Q308: How do I handle different exception types in EK9 without casting?
- Q802: Why does EK9 reject manual close of local resources?
- Q803: What happens when a closeable resource is never closed?
- Q1009: In Go I return (value, error) and check if err != nil. What does EK9 use instead?
- Q1014: In Python I use try/except for error handling. How does EK9's try/catch compare?