Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Code Design Decision – Always throw custom exceptions. Parent comment
1. You are in no position to decide for your customer whether exception is "Retryable".
2. For cases where you are in that position, you should just retry automatically.
3. RetryableException tells absolutely nothing about what happened. It's no better than raising MondayException for exceptions that happen on Monday.
There are no comments on this comment yet.
1. You are in no position to decide for your customer whether exception is "Retryable".
2. For cases where you are in that position, you should just retry automatically.
3. RetryableException tells absolutely nothing about what happened. It's no better than raising MondayException for exceptions that happen on Monday.