Package gui :: Module errors
[hide private]
[frames] | no frames]

Module errors

source code

Module for handling errors in the GUI.

Functions [hide private]
 
gui_raise(relax_error, raise_flag=False)
Handle errors in the GUI to be reported to the user.
source code
Variables [hide private]
  status = Status()
  __package__ = 'gui'

Imports: sys, wx, Status


Function Details [hide private]

gui_raise(relax_error, raise_flag=False)

source code 

Handle errors in the GUI to be reported to the user.

Parameters:
  • relax_error (RelaxError instance) - The error object.
  • raise_flag (bool) - A flag which if True will cause the error to be raised, terminating execution.
Raises:
  • RelaxError - This raises all RelaxErrors, if the raise flag is given.