set_exception_trace_mode#

ivy.set_exception_trace_mode(mode)[source]#

Set the mode of whether to show frontend-truncated exception stack traces, ivy- truncated exception stack traces or full exception stack traces.

Return type:

None

Parameter#

mode

str exception trace mode, one of ivy, full or frontend

Examples

>>> ivy.set_exception_trace_mode("ivy")
>>> ivy.exception_trace_mode
'ivy'
>>> ivy.set_exception_trace_mode("full")
>>> ivy.exception_trace_mode
'full'