In Java you can do something like this:
public boolean DoSomething() throws CustomEdgeCase {
….
}
This is not possible in e.g. C# or TypeScript.
I wonder why? I find it very helpful to ensure software quality??
Am I wrong or why is this not adapted elsewhere?
Best Regards,
Oliver working on https://www.monsterwriter.app/