.. _panic: panic ===== .. code-block:: bl panic :: fn { panic_empty; panic_error; panic_msg; } Abort execution and eventually print panic message if there is one specified. First passed argument in 'args' will act like format string and can be eventually followed by any additional values required. Example ------- :: panic(); // abort without any messages panic(error); // abort with :ref:`Error`. panic("oops!"); // abort with message prited out. panic("Failed with error: %", errn); // first argument passed acts like formating string *Declared in: debug.bl*