Skip to content

TYP306

TYP306panic payload does not fit Panic

SubsystemType checking
Severityerror

panic <expr> requires the payload’s type to fit the Panic face. Add fit YourType : Panic { … }, use a string (panic "…") or a blessed prelude payload (Cancelled, Closed, RuntimeDenied). See spec/errors.md §“panic and trap”.

From your terminal:

Terminal window
q64 explain TYP306