@intercept_errors(FakeOutputException, ignore_errors=[ValueError])
def intercepted_function(raise_error=None):
 if (raise_error is not None):
  raise raise_error

@ intercept_errors ( FakeOutputException , ignore_errors = [ ValueError ] ) def intercepted_function ( raise_error = None ) : if ( raise_error is not None ) : raise raise_error
function used to test the intercept error decorator .