private static String getResponseMessage(ApiException e) {
        int code = e.getCode();
        if (code == 401) {
            return UNAUTHORIZED_MESSAGE;
        }
        return e.getResponseBody();
    }
Get operation exception could be if the resource is not found or some other exception
@param resourceKind
@param e - K8s cluster exception
@param operation {@link ResourceOperation}
@return HyscaleException
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/util/ExceptionHelper.java