When a function is missing required arguments (e.g. when we are previewing a CB component without defaults for all arguments), we currently display this (in the default, JSON visualization):
### Tasks
- [ ] Viz: When `_js_to_object_error_` occurs, we should display the error, not the JSON of the error
- [ ] Libs: Since this is a common case it would be nice to show a message like "Provide values for the required arguments to view results (missing: path)"--Would it be possible for the libs to make this the error message when trying to convert a function to a visualization representation? Otherwise, we could handle it specially in the GUI
We will use a Missing Argument throw expression for every user-facing argument without a default; this ticket is just for fixing the JSON output for this case.
When a function is missing required arguments (e.g. when we are previewing a CB component without defaults for all arguments), we currently display this (in the default, JSON visualization):