Type Number Event unhandledError Revision Release 2022.3683 Keywords unhandledError, stackTrace
The stack trace at which the last runtime error occurred formatted into a string.
function errorHandler( event ) print( event.errorMessage, event.stackTrace ) end Runtime:addEventListener( "unhandledError", errorHandler )