public SetResponse <string> GetStatusString(ARGUMENT_PARSER_STATUS argParserStatus) { try { switch (argParserStatus) { case ARGUMENT_PARSER_STATUS.NO_ARGUMENTS: return(new SetResponse <string>("No arguments provided")); case ARGUMENT_PARSER_STATUS.MISSING_ARGUMENTS: return(new SetResponse <string>("(script name) (output_path)")); case ARGUMENT_PARSER_STATUS.TOO_MANY_ARGUMENTS: return(new SetResponse <string>("Too many arguments")); } throw new Exception($"{argParserStatus} was not handled"); } catch (Exception ex) { _exceptionService.RecordException(ex); return(new SetResponse <string>(ex)); } }