Beispiel #1
0
 public IScriptExecutionResult GetLastScript()
 {
     try {
         var scriptJob = _scriptsApiClient.GetLastScript();
         return(new ScriptResult(scriptJob));
     } catch (ApiException exc) {
         throw new RunspaceEndpointException(exc.ErrorCode, exc.ErrorContent?.Code ?? exc.ErrorCode, exc.Message, exc);
     }
 }