old_contents: #!/usr/bin/env python
  #pylint: disable=missing-docstring
  #* This file is part of the MOOSE framework
  #* https://www.mooseframework.org
  #*
  #* All rights reserved, see COPYRIGHT for full restrictions
  #* https://github.com/idaholab/moose/blob/master/COPYRIGHT
  #*
  #* Licensed under LGPL 2.1, please see LICENSE for details
  #* https://www.gnu.org/licenses/lgpl-2.1.html
  
  import chigger
  
  reader = chigger.exodus.ExodusReader('../input/step10_micro_out.e')
  mug = chigger.exodus.ExodusResult(reader, viewport=[0, 0, 0.25, 1], variable='phi')
  mug.update()
  sample = chigger.exodus.ExodusResultLineSampler(mug, point1=(0, 0.05, 0), point2=(0.1, 0.05, 0), resolution=200)
  sample.update()
  x = sample[0].getDistance()
  y = sample[0].getSample('invalid_name') # testing this error
  
new_contents: #!/usr/bin/env python
  #pylint: disable=missing-docstring
  #* This file is part of the MOOSE framework
  #* https://www.mooseframework.org
  #*
  #* All rights reserved, see COPYRIGHT for full restrictions
  #* https://github.com/idaholab/moose/blob/master/COPYRIGHT
  #*
  #* Licensed under LGPL 2.1, please see LICENSE for details
  #* https://www.gnu.org/licenses/lgpl-2.1.html
  
  import chigger
  
  reader = chigger.exodus.ExodusReader('../input/step10_micro_out.e')
  mug = chigger.exodus.ExodusResult(reader, viewport=[0, 0, 0.25, 1], variable='phi')
  mug.update()
  sample = chigger.exodus.ExodusResultLineSampler(mug, point1=(0, 0.05, 0), point2=(0.1, 0.05, 0), resolution=200)
  sample.update()
  x = sample[0].getDistance()
  y = sample[0].getSample('invalid_name') # testing this error
  exit(1)
  
subject: Exit with a non-zero