docs: def raise_args_err(message='bad arguments', error_class=TypeError):
      """Throw an error with standard message, displaying function call.
  
      >>> def f(a, *args, **kwargs):
      ...     raise_args_err()
      ...
      >>> f(1, 2, x='y')
      Traceback (most recent call last):
      ...
      TypeError: bad arguments: f(1, 2, x='y')
      """
      frame = inspect.currentframe().f_back
      raise error_class(message + ': ' + format_call(frame))