<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def raise_args_err(message='bad arguments', error_class=TypeError):
 """Throw an error with standard message, displaying function call. 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))