Configuration

petl.config.failonerror = False

Controls what happens when unhandled exceptions are raised in a transformation:

  • If False, exceptions are suppressed. If present, the value provided in the errorvalue argument is returned.
  • If True, the first unhandled exception is raised.
  • If ‘inline’, unhandled exceptions are returned.