(33 lines)
1 '\" t2 .\" Copyright (c) 2025 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH fail 3 2025-11-29 "Tomo man-pages"6 .SH NAME7 fail \- abort the program8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI fail\ :\ func(message:\ Text\ ->\ Abort)13 .fi14 .SH DESCRIPTION15 Prints a message to the console, aborts the program, and prints a stack trace.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 message Text The error message to print.26 .TE27 .SH RETURN28 Nothing, aborts the program.30 .SH EXAMPLES31 .EX32 fail("Oh no!")33 .EE