exopy.app.errors.widgets module¶
Widgets used to display errors messages received by the plugin.
-
class
exopy.app.errors.widgets.BasicErrorsDisplay(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.ContainerDisplay the errors as a list with a panel for the message.
-
errors¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
kind¶
-
selected¶
-
-
class
exopy.app.errors.widgets.ErrorsDialog(parent=None, **kwargs)¶ Bases:
enaml.widgets.dialog.DialogDialog presenting all the errors reported in a notebook.
-
errors¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
-
class
exopy.app.errors.widgets.HierarchicalErrorsDisplay(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.ContainerWidget used to display a nested dictionary.
Keys must always be unicode and values should unicode or dict.
-
errors¶
-
kind¶
-
selected¶
-
-
class
exopy.app.errors.widgets.UnknownErrorWidget(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.ContainerWidget used to display messages for errors for which no specific handler was found.
-
kind¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
msg¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
-
exopy.app.errors.widgets.format_error(node)¶ Build a nice string representation of a node.