human
Solve the following python programming problem given the following code:
@skip('silverlight')
def test_register_error():
assistant
#Here is the Python program you requested.

    """TODO: test that these are actually used.
    """
    def garbage_error0():
        print 'garbage_error0'
    def garbage_error1(param1):
        print 'garbage_error1:', param1
    def garbage_error2(param1, param2):
        print 'garbage_error2:', param1, ';    ', param2
    codecs.register_error('garbage0', garbage_error0)
    codecs.register_error('garbage1', garbage_error1)
    codecs.register_error('garbage2', garbage_error2)
    codecs.register_error('garbage1dup', garbage_error1)