When providing plugin users with variable containing arguments like {{ craft.pluginname.variable(arg1, arg2) }}
what's the best practice for returning something that doesn't throw an Internal Server Error exception for Missing argument 1 or argument 2?
Should this be done as part of the /services/PluginService.php or somewhere else? Is it better to return a nicer Javascript console error (or Craft error log) vs. crashing the page?