DataViewerCommandResult (String response) { if (response.startsWith("FileNotFoundError") || response.startsWith("OSError")) { return makeErrorResult(FILE_NOT_FOUND_ERROR, response); } else { return makeErrorResult(UNHANDLED_ERROR, response); } }