Scroll to navigation

Builtins.exceptionBacktrace(3kaya) Kaya module reference Builtins.exceptionBacktrace(3kaya)

NAME

Builtins::exceptionBacktrace - Print the backtrace of an Exception.

SYNOPSIS

Void exceptionBacktrace( Exception e )

ARGUMENTS

e The caught Exception

DESCRIPTION

This is used to deal with uncaught exceptions in programs and prints the backtrace on standard output. It is generally not appropriate for use within a program except for debugging purposes, and should never be called within a CGI program or webapp.
If the program is compiled with the -nortchecks compiler option then the backtrace will be of limited use. Similarly, the standard library must be compiled with the --enable-debug configure option to get useful backtraces there.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Builtins.exceptionCode (3kaya)
Builtins.exceptionMessage (3kaya)
October 2012 Kaya