Tanguv0.35.0
System & I/O3 exports
Raw Markdown

/panic

Diverging development and assertion helpers (todo!, unimplemented!, unreachable!).

(use /panic)

Functions & symbols#

todo!#

function
(todo! text)

Panics at runtime indicating a work-in-progress placeholder (`optional text`).

ParameterTypeOptionalDescription
textAnyrequired—
Returns:Any

unimplemented!#

function
(unimplemented! text)

Panics at runtime indicating unimplemented functionality (`optional text`).

ParameterTypeOptionalDescription
textAnyrequired—
Returns:Any

unreachable!#

function
(unreachable! [msg]) -> Never

Aborts execution immediately when a provably unreachable branch is entered.

ParameterTypeOptionalDescription
msgStringoptionalOptional context explaining why branch is unreachable
Returns:Any
(unreachable! "handled earlier")