OmniGraphError

class omni.graph.core.OmniGraphError(*args, **kwargs)

Bases: Exception

Exception to raise when there is an error in an OmniGraph operation

__init__(*args, **kwargs) str

Returns the exception text, with stack trace information added if requested

classmethod set_show_stack_trace(enable_traces: bool)

Turn on or off display of stack traces when an OmniGraphError is raised

Parameters

enable_traces – Turn on or off the stack traces when raising the error