Module zellij_utils::errors[][src]

Expand description

Error context system based on a thread-local representation of the call stack, itself based on the instructions that are sent between threads.

Structs

ErrorContext

A representation of the call stack.

Enums

ClientContext

Stack call representations corresponding to the different types of [ClientInstruction]s.

ContextType

Different types of calls that form an ErrorContext call stack.

PluginContext

Stack call representations corresponding to the different types of [PluginInstruction]s.

PtyContext

Stack call representations corresponding to the different types of [PtyInstruction]s.

ScreenContext

Stack call representations corresponding to the different types of [ScreenInstruction]s.

ServerContext

Stack call representations corresponding to the different types of [ServerInstruction]s.

Traits

ErrorInstruction

Functions

get_current_ctx
handle_panic

Custom panic handler/hook. Prints the ErrorContext.