I can see that all "valid" errors, when I throw my own exception and handle them like this
if (N > 0) {
throw new MyCustomException();
}
All such "errors" shows in "Errors" page in APM, but these are not real errors .
Is it possible somehow not to count such exceptions as errors or I need to rewrite my code ?