Package Camelot :: Package camelot :: Package view :: Package controls :: Module exception
[frames] | no frames]

Module exception

source code

Functions and widget to represent exceptions to the user
Functions
 
register_exception(logger, text, exception)
Log an exception :exception_info: exception information in a user readable format, to be used when displaying an exception message box
source code
 
model_thread_exception_message_box(exception_info, title=None, text=None)
Display an exception that occurred in the model thread in a message box, use this function as the exception argument in the model thread's post function to represent the exception to the user
source code
Variables
  __package__ = 'Camelot.camelot.view.controls'
Function Details

model_thread_exception_message_box(exception_info, title=None, text=None)

source code 

Display an exception that occurred in the model thread in a message box, use this function as the exception argument in the model thread's post function to represent the exception to the user

model thread in which the exception was thrown

Parameters:
  • exception_info - a tuple containing the exception that was thrown and the