presto-verifier/src/main/java/io/prestosql/verifier/Verifier.java/Verifier/shouldAddStackTrace
class Verifier:    private static boolean shouldAddStackTrace(Exception e)
    {
        if (e instanceof PrestoException) {
            ErrorCode errorCode = ((PrestoException) e).getErrorCode();
            if (EXPECTED_ERRORS.contains(errorCode)) {
                return false;
            }
        }
        return true;
    }